POWERUP_ON |
Program Statements |
Prg_POWERUP_ON.html |
POWERUP_ON - activate a powerup object
### POWERUP_ON i e 0 0 0
all GTA Demos, GTA Full Version
This statement (re)activates a powerup object that has been placed on the map with a POWERUP object code.
### |
line number |
i |
POWERUP object index |
e |
End flag:
|
0 0 0 |
usually =0 |
For every POWERUP in part 1 of MISSION.INI there should be at least one POWERUP_ON in part 2 that refers to it. Powerups that have been taken by the player can be restituted with this statement.
Object Codes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Script Statements |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Program Statements Overview, Powerup Howto, IS_POWERUP_DONE, POWERUP
Information contributed by ZyNTaX, schu, and Michael Mendelsohn.
The meaning of the last four parameters is still unclear. schu claimed that e=-1 for the last powerup statement, but in section [1] of MISSION.INI in the full version there is no POWERUP_ON with e=-1.
MISSION.INI |
Last change: 17 Dez 1997 |
unofficial GTA Reference |