Changes

Jump to navigation Jump to search
m
rearrange my last edit to "fork" command
Line 375: Line 375:  
|-
 
|-
 
| <tt>fork {{o|req}} {{t|event ID}}</tt>
 
| <tt>fork {{o|req}} {{t|event ID}}</tt>
| End the current command script and starts a different script with the given ID, but only if the {{o|req}} condition is met. The {{o|req}} condition can be a mail ID or dialogue answer ID; if not specified, it checks if the <tt>specialEventVariable1</tt> variable was set (e.g. by a <tt>question</tt> event command or <tt>%fork</tt> dialogue command). The new script should have the same format as a normal event script, but without the mandatory three start fields. Example: <tt>/fork choseWizard finalBossWizard</tt> in the ''"Necromancer"'' script of Sebastian's 6-heart event.
+
| End the current command script and starts a different script with the given ID, but only if the {{o|req}} condition is met. (Example: <tt>/fork choseWizard finalBossWizard</tt> in the ''"Necromancer"'' script of Sebastian's 6-heart event.) The {{o|req}} condition can be a mail ID or dialogue answer ID; if not specified, it checks if the <tt>specialEventVariable1</tt> variable was set (e.g. by a <tt>question</tt> event command or <tt>%fork</tt> dialogue command). The new script should have the same format as a normal event script, but without the mandatory three start fields.
 
|-
 
|-
 
| <tt>friendship {{t|npc}} {{t|amount}}</tt>
 
| <tt>friendship {{t|npc}} {{t|amount}}</tt>
30

edits

Navigation menu