(Theoretical) Regions & "follow" commandl

Speak about everything in regards to Crossfire.

Moderator: Board moderators

mikeeusa22

Post by mikeeusa22 »

I dont think there should be a whoisfollowingme or a stopfollowing me command.
cavesomething
Forum Fanatic
Posts: 852
Joined: Sun Jun 13, 2004 2:07 am
Location: Hemel Hempstead

Post by cavesomething »

mikeeusa22 wrote:I think you should beable to follow someone across exits.
The way you could loose someone is close a grate and have if the followed player gets X tiles away then you lost him.

X maby being 20 or so?
Yes, under normal circumstances the easiest way to do this is to have 'losing' players.

The thing to have would be a stack of desired movements, the squares that the followed player entered, with a delay of two squares (to let them double back and the like) before the follower entered them.

If the stack has a fixed length (I am thinking closer to 5-10 squares than 20 though, 20 squares is most of a map). then at the end of every step, a check can be performed that the bottom entry (the most recent one) is the player location. Otherwise you are too far behind, and the following should stop with a message like 'you are unable to keep up with foo'.

Likewise if the followed player goes somewhere the following player can't, (due to levititation, or obstructionsay) then the following player would get a message like, 'you are no longer able to follow foo where he has gone.'

Same if they change maps through anything other than tiling.

This then makes five simple ways to stop being tailed.
1. cast slow and run
2. change maps
3. use levitiation (maybe....)
4. cast lots of pets in defend mode.
5. be faster and keep running.
Post Reply