Hey all
Having trouble having an event kill the player by touching it since it has through active (it needs this to pass over objects placed in its way) but this means it goes through the player to, and unless the player actively moves into the ghost, it will not activate the event, is there a way to maintain the through, and still cause an event on contact with the player? could this be done through variables of say event xy = player xy
Thanks
Jacob
Well I have no idea about the "ghost" stuff,but to make an event chase a player,set the event to "Event Touch" and on the move route thing,click "Custom" and do move towards player.So,when the event is there,it will automatically chase a player.
Edit:When I posted this,it didn't show any other posters for some reason,so I thought nobody had asked.Now,I see 2 other replies.Sorry...
If you go with the Autonomous Moveroute handling the Moveroute, and the Eventpage on paralell, than i can share a Event Scriptline, to make your
Flames or whatever easier to copy paste.
if $game_map.events[@event_id].x == $game_player.x && $game_map.events[@event_id].y ==
$game_player.y ; wait(4); $game_self_switches[[$game_map.map_id,@event_id, 'A']] =
true end
And if the Moveroute for example goes Down Down Down Down Down, than you insert the following scriptline into autonomous moveroute after the move downs to reset your flame to its original position so it can start over again.
moveto(@event.x , @event.y)
Thisway you can copy paste your flame Event as often as you want and you have to change no variables or code.
Ah before i forget it, the Self switch A of the Event gets activated when it hits the player which activates the seccond eventpage of the flame event.
Carefull the wait could cause you to run through the enemies without getting hit when timed correctly, so you want them to be updated
often.
Ace Eventpage setting alleady seems to ad a few wait frames before repeating its eventpage, so there should be no need in adding extra wait.
or atleast test if one of them runs down in a straight line if you can skip through with the right timing while moving up and it down.
Yeah thats true, if he uses more than a few he needs a different solution.
With Events without Paralell Page, but one extra event on paralell which is handling collision detection for the for example 30 to 50 Flames or ghosts.
for a in (1..50) #<--Ghost Ids
if $game_map.events[a].x == $game_player.x && $game_map.events[a].y ==
$game_player.y ; wait(4); $game_self_switches[[$game_map.map_id,@event_id, 'A']] =
true end
end
Iam no Scripter and new to this myself, thats the reason why a share this , because others shared much of this to.
I didn't get these maps. Or at least I don't think I did.
Where can I find them?
Interesting. I'll try them when my pc is back. Thanks.
Why is this Thread MV now? I must have been tired yesterday, was sure to have read VX-Ace.
Thisway my Scriptsnippet solutions will not work, they are for Ruby.