SmartPath 22 -1
You replace the text EventId1 and EventId2 with the actual numbers.
Just found this, thank you for sharing this seems very helpfull, cant wait to test it out.
What are you expecting to happen here? For the event to move towards / follow the player as soon as switch 7 is turned on?
Your trigger is set to Action Button, so this will only happen after you interact with the event. I'm guessing this is probably not what you're after. What is on the first page of the event?
If you want this event to start moving towards the player as soon as that switch is turned on, then put the plugin command into the event that turns on that switch instead of this one, and the plugin command will be SmartPath 32 -1.
Are you able to zip up your project and send to me? I think there is something wrong somewhere, but not sure where to start looking.
Which map are you on when you get this error? The error (on map 9) is happening because you're telling it to make event 32 approach the player. But there is no event 32 on that map.
Is the switched turned on on one map, but the event you want to follow the player is on a different map? If that's the case, then you need to do it a little differently. An event on one map cannot tell an event on another map to do something, unless you use a switch. So remove the plugin call from event 5 on map 9, as well as from event 32 on map 2. Create a NEW event on map 2 that is conditioned by switch 7, set to parallel process, and has the plugin command followed by an Erase Event command.
This way, the switch is turned on when the necklace is picked up, and when you go to map 2 this new event will make the ghost approach the player.
I am on the Child's Bedroom Map in the project, that is when I get the Error.
So for Map 2, I do a new event for Event 32 and use that command, and I use a Movement as well as the command and an Erase Event on a Parallel?
No. You edit event 32 and remove the plugin command. Then you create a NEW event, parallel process, conditioned by the same switch. Put the plugin command on that event, followed by Erase Event.
And you remove the plugin command from the event in the child's bedroom.
Alright, Thank you for your help!
Okay I got the same Error Message, but this time It has the correct event stuff, In the Childs room I did everything you said and set the event to follow the Player, so It would be "SmartPath 6 -1 " Right?
Your events are a bit confusing. Switch 7 can be turned on from multiple events here. I didn't realise event 6 on this map was the ghost. You have the plugin call on 2 pages on this event as well.
Because the switch can be turned on via several events, I'd do the same thing here - remove the SmartPath call from event 6 (both pages) and 5 and any other events that have it, then add a new event, parallel process, conditioned by switch 7, with the plugin call (SmartPath 6 -1) followed by Erase Event.
Okay it works! Thank you SO much for your help man! the plugin is fine for Commercial use right? Either way, I will credit you for the Plugin
Yes, as per the terms on the first page, commercial use is allowed.
Okay Great! Thank you for taking your time to help me I hope you have a good rest of your day