Hello everyone,
I'm trying to call an animation from a plugin and it's working when I choose a specific event
but not when I put this._eventId (it works on map but not on script and common event)
Also tried with
or
but same issue.
Seems like it doesn't find this.event via script, any idea how to do that ?
Thanks again
I'm trying to call an animation from a plugin and it's working when I choose a specific event
Rich (BB code):
var character = $gameMap.event(34);
var id = 370;
character.requestAnimation(id);
but not when I put this._eventId (it works on map but not on script and common event)
Rich (BB code):
var character = $gameMap.event(this._eventId);
var id = 370;
character.requestAnimation(id);
Also tried with
Rich (BB code):
$gameMap.event(this._eventId).requestAnimation(370);
or
Rich (BB code):
$gameTemp.requestAnimation([$gameMap.event(this._eventId)], 370);
but same issue.
Seems like it doesn't find this.event via script, any idea how to do that ?
Thanks again