First off, sorry 'bout the title, I have a hard time explaining this in a single sentence.
Starting point:
I have a "Park" map. In this map there's an old man walking towards a bench.
What I want:
1. The player to be able to talk to the old man as he's walking.
2. When the player visits the park for the 2nd (or higher) time, the old man will stay on the bench and will say something else when talked to.
What I did:
1. Created an auto-run event that adds +1 to "Park Visits" variable, then destroys itself (to avoid an endless loop).
2. Created an event of the old man with a walk route to the bench. Added the following commands:
3. Created another event with the same sprite, this time on the bench. Added the following commands:
End Result:
Both old men exist in the world. If I speak to the old man on the bench, he deletes himself (I always test in a new game, thus "Park Visits == 1").
I tried using Autorun and Action button triggers on both men, but didn't get my wanted result:
Wanted Result:
The 2nd old man does not exist in the first visit in the park. The 1st old man does not exist in any visit afterwards. In both cases you can talk to the old man.
Any tips?
Thanks!
Starting point:
I have a "Park" map. In this map there's an old man walking towards a bench.
What I want:
1. The player to be able to talk to the old man as he's walking.
2. When the player visits the park for the 2nd (or higher) time, the old man will stay on the bench and will say something else when talked to.
What I did:
1. Created an auto-run event that adds +1 to "Park Visits" variable, then destroys itself (to avoid an endless loop).
2. Created an event of the old man with a walk route to the bench. Added the following commands:
[IMG]http://puu.sh/6woA7.png[/IMG]
[IMG]http://puu.sh/6woFA.png[/IMG]
Both old men exist in the world. If I speak to the old man on the bench, he deletes himself (I always test in a new game, thus "Park Visits == 1").
I tried using Autorun and Action button triggers on both men, but didn't get my wanted result:
Wanted Result:
The 2nd old man does not exist in the first visit in the park. The 1st old man does not exist in any visit afterwards. In both cases you can talk to the old man.
Any tips?
Thanks!