rubenturen
Also Known as: Canned Brain
- 51
- Posts
- 6
- Years
- —Denmark
- Seen Jul 17, 2024
(Info:I'm using emerald)
I think I found a way to save vars so I want to know if it's safe.
Ok, it goes like this you create a script like this:
#dynamic 0x800000
#org @start
Checkflag 0x(flag)
If 0x0 goto @flagisnotactive
End
#org @flagisnotactive
Lock
Setflag 0x(flag)
(Make your script here)
Release
End
And then you use one var for all level/event scripts
That uses vars.
So what I think will happen:
the var is allways active,
So normally the script would play again and again,
But because of the flag that activates the first Time the script runs,
It Will do so that it will not play again.
Pls tell if this is possible and what side effects it will make.
Thx.
I think I found a way to save vars so I want to know if it's safe.
Ok, it goes like this you create a script like this:
#dynamic 0x800000
#org @start
Checkflag 0x(flag)
If 0x0 goto @flagisnotactive
End
#org @flagisnotactive
Lock
Setflag 0x(flag)
(Make your script here)
Release
End
And then you use one var for all level/event scripts
That uses vars.
So what I think will happen:
the var is allways active,
So normally the script would play again and again,
But because of the flag that activates the first Time the script runs,
It Will do so that it will not play again.
Pls tell if this is possible and what side effects it will make.
Thx.
Last edited: