Questions about Followcharacter command.

Started by Demicrusaius, Sat 16/02/2013 07:34:28

Previous topic - Next topic

Demicrusaius

I've been using followcharacter(0,0) to have a killer chase the player. This works well until the player gets two rooms ahead of the killer. When getting two rooms ahead and then back tracking, the killer appears "stuck" at arbitrary coordinates within the middle room. If you get two or more rooms ahead and wait, then he catches up just fine but something about turning around gets him stuck.
This problem is weird because there is no other script going on other than followcharacter(0,0) and altering the eagerness and distance doesn't make a difference
I was wondering if anyone knows how the default engine tracks the following character's movement. I'm fairly certain I'm going to have to come up with a clever way around this using tedious changeroom commands with door specific coordinates. Does anyone have any experience with this?
It is better to light one small candle than to curse the darkness.

Volcan

Do you mean ego1 still following ego2?

I worked on my game today and I have the same problem.

Volcan


SMF spam blocked by CleanTalk