Change event graphic?
#1
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

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!
Reply }


Messages In This Thread
Change event graphic? - by Bennerdeben - 11-14-2020, 05:41 PM
RE: Change event graphic? - by DerVVulfman - 11-14-2020, 11:01 PM
RE: Change event graphic? - by Bennerdeben - 11-15-2020, 10:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Atoa Custom Battle System: Popup when status change Noctis 6 10,615 02-01-2016, 12:52 AM
Last Post: Noctis
   Event collision problem with FPLE script ThePrinceofMars 2 5,770 11-11-2014, 06:30 PM
Last Post: ThePrinceofMars
   Actor Graphic/Reflection Refuses to Update/Refresh penguwin 6 9,790 11-06-2014, 09:51 PM
Last Post: penguwin
   Help with Change Party Order script VEE-Chary 12 15,413 05-07-2014, 02:58 PM
Last Post: VEE-Chary
Tongue  Message graphic color MagitekElite 4 7,242 12-14-2010, 10:17 PM
Last Post: MagitekElite
   checking event coordinates? shintashi 4 7,566 05-28-2010, 03:34 PM
Last Post: Jaberwocky
   Tagging a Common Event to an accessory Shiroiyuki 3 5,911 05-07-2010, 02:54 PM
Last Post: Shiroiyuki
   Party Change Script Trouble aveyondstars 2 5,308 04-13-2010, 05:58 PM
Last Post: Boot
    Level Up Event Script daojones 8 12,579 04-09-2010, 06:48 PM
Last Post: daojones
   make event unpassable even by jumping mangamaniacs2064 4 7,494 04-05-2010, 11:57 AM
Last Post: mangamaniacs2064



Users browsing this thread: 1 Guest(s)