Users browsing this thread: 1 Guest(s)
BTB's Enemy Scripting Tutorial
*ahem*
http://mnrogar.slickproductions.org/phpB...?f=3&t=967
all forums are behind Mnrogar's!
-------
Tenkarider: there are two stages to monster script execution:
1) the script itself running. it goes through the FF, FE, FD, and FC commands, with the last being an If-Then that decides whether to do anything. when the script hits other commands, whether those be an attack ID or commands like F5, it doesn't fully run them. rather, it performs a "placeholder" that queues them so their "payload" can be executed after the script is done processing, a little later. F5's placeholder will queue Command 24h.
2) the payloads. whatever command(s) was/were queued above is/are actually executed. each command's code is indexed by C2/19C7, with the special commands starting at C2/1A03.
http://mnrogar.slickproductions.org/phpB...?f=3&t=967
all forums are behind Mnrogar's!
-------
Tenkarider: there are two stages to monster script execution:
1) the script itself running. it goes through the FF, FE, FD, and FC commands, with the last being an If-Then that decides whether to do anything. when the script hits other commands, whether those be an attack ID or commands like F5, it doesn't fully run them. rather, it performs a "placeholder" that queues them so their "payload" can be executed after the script is done processing, a little later. F5's placeholder will queue Command 24h.
2) the payloads. whatever command(s) was/were queued above is/are actually executed. each command's code is indexed by C2/19C7, with the special commands starting at C2/1A03.
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)