Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What happens when there are multiple removal script declarations? #16

Open
pushfoo opened this issue Jun 25, 2020 · 5 comments
Open

What happens when there are multiple removal script declarations? #16

pushfoo opened this issue Jun 25, 2020 · 5 comments
Labels
C3/DS Creatures 3 / Dockingstation related CAOS CAOS Programming Language documentation Improvements or additions to documentation

Comments

@pushfoo
Copy link
Member

pushfoo commented Jun 25, 2020

Does one override the other(s), or are multiple removal scripts called?
try something like:

* this goes in multiple_rscr_test.cos or similar
rscr
    outs "first"
endm

rscr
    outs "second"
endm

rscr
    outs "third"
endm

Then attempt injection using ject "multiple_rscr_test.cos" 7

@pushfoo pushfoo added C3/DS Creatures 3 / Dockingstation related CAOS CAOS Programming Language documentation Improvements or additions to documentation labels Jun 25, 2020
@pushfoo
Copy link
Member Author

pushfoo commented Jun 25, 2020

lc2e behavior appears to be that only the first rscr is used, output was:

> ject "multi_rscr.cos" 7
first

@Vermidia
Copy link
Member

In DS, using the caos above, it'll also only output first and ignore the rest

@pushfoo
Copy link
Member Author

pushfoo commented Jun 25, 2020

@Vermidia do you happen to have a c3 engine to test against? I'm still building the tools for automating these tests against different engine versions.

@Vermidia
Copy link
Member

Vermidia commented Jun 25, 2020

I have an older c3 engine on another computer, my c3 on this one is GOG and has the same engine version and gives the same response, I might be able to get my other version out later and test it though.

@pushfoo
Copy link
Member Author

pushfoo commented Jun 25, 2020

that would be helpful if you get a chance, ty! no rush though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C3/DS Creatures 3 / Dockingstation related CAOS CAOS Programming Language documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants