priestrun1.jpg The syntax for $OnExit is very much like the syntax for many of the other Netstorm events ($Button, $Menu): $OnExit=description,command,command extension The description is what the player will see inside a button. Note: description is optional. If you don't use it, you still have to have a comma before the command. You should know the Netstorm commands by heart by now: either MissionBegin, MissionFork, MissionAbort, MissionRestart, MissionReview, MissionEnd, Tell, GetTechnology or ShowTechnology. Command extension has to do with the command that you use. Refer to the advanced editing section to see what these commands need for their extensions.
| Attributes | Values |
|---|
| rdfs:label
| |
| rdfs:comment
| - priestrun1.jpg The syntax for $OnExit is very much like the syntax for many of the other Netstorm events ($Button, $Menu): $OnExit=description,command,command extension The description is what the player will see inside a button. Note: description is optional. If you don't use it, you still have to have a comma before the command. You should know the Netstorm commands by heart by now: either MissionBegin, MissionFork, MissionAbort, MissionRestart, MissionReview, MissionEnd, Tell, GetTechnology or ShowTechnology. Command extension has to do with the command that you use. Refer to the advanced editing section to see what these commands need for their extensions.
|
| dcterms:subject
| |
| dbkwik:netstorm/pr...iPageUsesTemplate
| |
| abstract
| - priestrun1.jpg The syntax for $OnExit is very much like the syntax for many of the other Netstorm events ($Button, $Menu): $OnExit=description,command,command extension The description is what the player will see inside a button. Note: description is optional. If you don't use it, you still have to have a comma before the command. You should know the Netstorm commands by heart by now: either MissionBegin, MissionFork, MissionAbort, MissionRestart, MissionReview, MissionEnd, Tell, GetTechnology or ShowTechnology. Command extension has to do with the command that you use. Refer to the advanced editing section to see what these commands need for their extensions. Let's try an example. Say in your campaign you want the player to have a choice: either he allies with Mr Evil, or he fights against him. In either case, you want the storyline to branch to a section called [continue]. One way of doing this would be to use the $OnExit command as follows:
|