sannybuilder / data

Sanny Builder Edit modes and supporting files directory.
https://github.com/sannybuilder/dev
6 stars 7 forks source link

GTA III: Bring back PLAYER_ACTOR and ONMISSION variables #3

Closed x87 closed 4 years ago

x87 commented 4 years ago

11=script_controlled_player 207=flag_player_on_mission

conventionally these variables were named PLAYER_ACTOR and ONMISSION respectively. Changing them may break CLEO scripts assuming they are safe to use as they get compiled using randomly available IDs and thus wouldn't match the code in the main.scm. While this is not recommended to use global variables in CLEO script, these two are well-known exceptions