Private charThe target char that will show the emoticon.
Private destroy_INPUT. If true, it will destroy any currect active emoticon on the given char. 'finish_events' won't be called if this is prop is true.
Private durationINPUT. The emoticon show duration.
Private emoticonINPUT. The emoticon key name.
Private face_INPUT. If target char is NPC, make hero and npc look each other.
Private finish_INPUT. The list of game events to be fired on this event end.
Private is_INPUT. Whether the target char is a NPC. If not, it's the hero.
Private locationINPUT. A custom location for the emoticon.
Private npc_INPUT. If the target char is a NPC, the npc index. Use this or npc_label
Private npc_INPUT. If the target char is a NPC, the npc unqie label. Use this or npc_index
Private previous_The previous direction before facing hero.
Private reset_INPUT. Reset direction on finish if "face_hero" was set to true.
Private sound_INPUT. A sfx to be played while on emoticon show.
Static Private Readonly DEFAULT_Static eventsThe events object where the keys are the ids.
Static id_The GameEvents id incrementer.
Static labeled_The events object where the keys are the events labels.
Whether this GameEvent is active or not.
The GameEvent id number.
If true, Reveal Psynergy won't be stopped on this event fire.
An unique label that identifies this GameEvent. This is optional.
The GameEvent type.
This function is the one that should be called to start a event. It should never be overriden. Always before this function is called, it's checked whether Reveal psynergy is being casted, if yes, it's stopped before this event start.
Optional origin_npc: NPCthe NPC that originated this game event.
if the child class has an async fire function, returns its Promise.
Static get_A helper function that defines the ControllableChar based on inputs. The controllable char can be a hero or a npc.
The GoldenSun instance.
Some options to help defining the char.
Optional is_Whether it's a npc or not.
Optional npc_The npc index number.
Optional npc_The npc unique label identifier.
the defined char.
Static get_Static get_Static reset
The GameEvent that shows an emoticon above a ControllableChar head.