Architheutis
Member
Hi guys.
I´ve remarked it at different sites of my game:
Some of my created enemies (manually droped down to patrolling-pathes, each one has its own path)
seem to reappear in another rooms. I used one sprite (object) for several needs (different pathes in
different rooms).
For example I gave a rusty knight (put into different rooms) that code-fragment:
Now... as you can see, the warrior got in two rooms his own, different-named path specifications.
The current result is:
The warrior in Level 2 behaves like the one in Level 3, off his given path, I considered
for him. Can somebody show me my mind-error, which keeps me away from solving that?
How can one character act correctly on each different path/level?
Thank you.
Archie.
I´ve remarked it at different sites of my game:
Some of my created enemies (manually droped down to patrolling-pathes, each one has its own path)
seem to reappear in another rooms. I used one sprite (object) for several needs (different pathes in
different rooms).
For example I gave a rusty knight (put into different rooms) that code-fragment:
Code:
if (Path_C1LV02_Warrior_s1){
path_start(Path_C1LV02_Warrior_s1, 4, path_action_continue, true);
}
{
if (Path_C1LV03_Warrior_s1){
path_start(Path_C1LV03_Warrior_s1, 4, path_action_continue, true);
}
}
The current result is:
The warrior in Level 2 behaves like the one in Level 3, off his given path, I considered
for him. Can somebody show me my mind-error, which keeps me away from solving that?
How can one character act correctly on each different path/level?
Thank you.
Archie.