-
Notifications
You must be signed in to change notification settings - Fork 0
Extra Event Commands
Pheonix KageDesu edited this page Aug 16, 2022
·
3 revisions
You can use special script calls inside Event (Common Event).
This commands called via Script event command.

Example:

| 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 | - |
| Command | Description | Returns |
|---|---|---|
this.aaEvent() |
returns Game_Event object of this event | Game_Event |
this.aaExecuteSAction(action) |
call SAction, action should be in quotes | - |
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