Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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 9,097 02-01-2016, 12:52 AM
Last Post: Noctis
   Event collision problem with FPLE script ThePrinceofMars 2 5,223 11-11-2014, 06:30 PM
Last Post: ThePrinceofMars
   Actor Graphic/Reflection Refuses to Update/Refresh penguwin 6 8,628 11-06-2014, 09:51 PM
Last Post: penguwin
   Help with Change Party Order script VEE-Chary 12 13,040 05-07-2014, 02:58 PM
Last Post: VEE-Chary
Tongue  Message graphic color MagitekElite 4 6,441 12-14-2010, 10:17 PM
Last Post: MagitekElite
   checking event coordinates? shintashi 4 6,677 05-28-2010, 03:34 PM
Last Post: Jaberwocky
   Tagging a Common Event to an accessory Shiroiyuki 3 5,169 05-07-2010, 02:54 PM
Last Post: Shiroiyuki
   Party Change Script Trouble aveyondstars 2 4,643 04-13-2010, 05:58 PM
Last Post: Boot
    Level Up Event Script daojones 8 11,023 04-09-2010, 06:48 PM
Last Post: daojones
   make event unpassable even by jumping mangamaniacs2064 4 6,645 04-05-2010, 11:57 AM
Last Post: mangamaniacs2064



Users browsing this thread: