Extra Event Commands - KageDesu/Alpha-ABS-Z GitHub Wiki
⚠️ Information actual for version 0.7.5 and above
You can use special script calls inside Event (Common Event).
How call extra commands
This commands called via Script event command.
Example:
Commands list ABS only events
Command | Description | Returns |
---|---|---|
this.aaBattler() |
returns Game_Battler object of this ABS event | Game_Battler |
this.aaGainExp() |
Get exp from this ABS enemy and gain to Player | - |
this.aaChangeAIParam(paramName, value) |
Change this ABS event AI parameter, paramName should be in quotes | - |
Commands list Any event
Command | Description | Returns |
---|---|---|
this.aaEvent() |
returns Game_Event object of this event | Game_Event |
this.aaExecuteSAction(action) |
call SAction, action should be in quotes | - |
Examples
this.aaExecuteSAction("ba_1"); // play balloon animation #1 for this event
this.aaChangeAIParam("viewRadius", 8); // change viewRadius parameter for this event (enemy) to 8
this.aaBattler().gainHp(100); // gain this event (enemy) 100 HP