I was hoping that the choices will be able to affect parameters.
Nope, when you are in game. If you haven't set any parameters in builder's DIALOGUE editor, then why do you expect that it will work?
Oh dear!
Have you looked at the image I attached earlier?!
Code: Select all
Script 6 (int scriptnum, int map, int s_arg1)
The script number and map number ARE NOT considered to be script parameters! All the action specials have in fact 6 arguments, each consisting of 1 byte.
1: the number of action special (if it's ACS_Execute then this number will be 80)
2: in this case if the first arg is 80, then this will be the script number and you set that number after the word "script" in the header of your script!
3: this will be the map number where the script would actually run
4: this is the
FIRST parameter you can set after the script number in round brackets
5: this is the
SECOND parameter you can set after the script number in round brackets
6: this is the
THIRD parameter you can set after the script number in round brackets

- tutorial2.png (8.73 KiB) Viewed 813 times
The only exception here is [wiki]ACS_ExecuteWithResult[/wiki] where you can have four parameters in the header of your script as there is no map number there, so you can also set a parameter value in the textbox where you would normally write the map number!