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 event script declarations in a file? #20

Open
pushfoo opened this issue Jun 26, 2020 · 1 comment
Labels
C3/DS Creatures 3 / Dockingstation related CAOS CAOS Programming Language

Comments

@pushfoo
Copy link
Member

pushfoo commented Jun 26, 2020

Similar to #16 , but for event script declarations.

@pushfoo pushfoo added C3/DS Creatures 3 / Dockingstation related CAOS CAOS Programming Language labels Jun 26, 2020
@pushfoo
Copy link
Member Author

pushfoo commented Jun 26, 2020

I placed the following into a .cos file and ran with ject "multi_event_test.cos" 7:

scrp 1 1 9004 1
        outs "def 1"
endm

scrp 1 1 9004 1
        outs "def 2"
endm

Verifying on the in-engine CAOS prompt showed the following:

> outs sorc 1 1 9004 1
outs "def 2"

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
Projects
None yet
Development

No branches or pull requests

1 participant