So i want a event to chase the player and if the event touches the hero you die, but the complicated thing for me is that I can't get the enemy to disappear at a certain time. please help!
Chase System For Horror Game!
● ARCHIVED · READ-ONLY
-
-
If you want the enemy to disappear, create a switch for it. Then, in your monster event, set 2 tabs. The first event exists when the switch is on (put all of your monster events here). Then, create a separate tab with nothing in it.
When you turn the switch on, the monster appears. When you turn the switch off, it vanishes. -
As thew poster above said, you'll need switches or variables for this.I can't get the enemy to disappear at a certain time. please help!
Switches and Variables are the most basic building blocks of eventing, and if you don't know how to use them you'll fail at anything more complex than a "go there" quest.
I suggest you take a week or two off your own project to work through the tutorials - please follow the link in my signature to find those tutorials. -
Yeah but how do i make it so when the player touches the enemy it triggers the event game over? Do i need three tabs for this?
-
Put it as event touch and just use the Game Over command
-
It's pretty easy :
-Make your map
-Make an event,like a chest.
-Make the chest transform to the monster Details :
Make a self-switch then at the second page,make the Condition that is the Self-Swich (A,B...)Make the graphic a monster instead of the open chest.
-Make the monster as an "Approach" event set Frequency to Highest (For realism) make a self-switch here.Make it Autorun too.
-Third page,make conditions the second page's self-switch (B,C...) then use the monster graphic here too,make it an Event Contact.At the event commandss select Game Over.And here you go !
Hope I helped ! -
http://www.atelier-rgss.com/RGSS/System/ACE_SYS03.html
The event sensor range script that Moghunter has is amazing for this kind of stuff.
This will make it so that the event does not chase the player until the player is "X" spaces away from it.