I have a bunch of enemies walking around with a colision trigger and this code:
<>Enemy Encounter: Ghost*2
: Victory Handler
<>Switch: [0020: monster_1]= ON
<>
: Defeat Handler
<>
: End
<>
After the switch monster_1 is turned on, it makes the ghost disappear. Now, the problem is that when one dies, they all disapear. Also, i want them to, once they've died, appear somewhere else, so that you don't kill all of the bad guys in a room, and leave it empty.
Well instead of using the switch, simply put Erase Event command where the switch turn on command is at. It'll erase the event for the time you're on the map, and if you go to another map and go back to it it'll be there again so I think you can pass on making ghost appearing somewhere else as well.
Or, if you still want it to appear somewhere else after it's killed, simply put a Set Event Location' command in the victory branch instead of the erase event one.
YESSSS thank you.
*whispers to gotix, "Help the mods out... put [resolved] and lock the topic in a edit on first post... ^^"*