11-14-2020, 05:41 PM
Hi guys!
Lately im trying to change an event ("This Event") graphic in case the hero touches it through code.
(Why not through events? Well, specific reasons).
This is what ive got working so far:
For the hero
But the code below doesn't work:
Saying set_graphic is not defined.
How would one define this, or what code would be useful?
Excuse my Ruby noobiness!
Lately im trying to change an event ("This Event") graphic in case the hero touches it through code.
(Why not through events? Well, specific reasons).
This is what ive got working so far:
For the hero
Code:
# After set_graphic (character_name, character_hue, battler_name, battler_hue)
$game_actors[1].set_graphic("basis_run", 0, "undead72", 0)
$game_player.refreshÂ
But the code below doesn't work:
Code:
$game_map.events[@event_id].set_graphic("basis_run", 0 ,"undead72", 0)
Saying set_graphic is not defined.
How would one define this, or what code would be useful?
Excuse my Ruby noobiness!