02-19-2004, 02:31 PM
Jane,Feb 19 2004, 02:07 PM Wrote:thnx for the info about his choice of dinner.Because his AI scripts tell him to stop :)
any ideas as to why he stops ans pauzes?
Here is the relevant section out of my Guide for his AI script:
Skeleton King
When finishing a circle walk, a monster using the Skeleton King attack type will start walking towards the last seen position of the target.
General
1. if not active, exit
2. R = Rnd[10000]
Distance = 1
1. in single player, if R < 5, then do revive skeleton, exit
2. if R < Intf + 20, do melee attack
Distance > 1, out of light
1. if last action was walking and standtime is 0 and R < Intf + 75, walk towards last seen position of target, exit
2. if standtime is greater than 1 second and R < Intf + 25, walk towards last seen position of target, exit
3. do delay for (Rnd[10] + 10)/20 seconds
Distance = 2, in light
1. in single player, if R < 5, then do revive skeleton, exit
2. if last action was walking and standtime is 0 and R < Intf + 75, walk towards last seen position of target, exit
3. if standtime is greater than 1 second and R < Intf + 25, walk towards last seen position of target, exit
4. do delay for (Rnd[10] + 10)/20 seconds
Distance > 2, in light
1. if target is in another area, use out of light AI
2. if Rnd[4] = 0, start circle walk, exit
3. in single player, if 4â¢Intf + 35, then do revive skeleton, exit
4. if last action was walking and standtime is 0 and R < Intf + 75, walk towards last seen position of target, exit
5. if standtime is greater than 1 second and R < Intf + 25, walk towards last seen position of target, exit
6. do delay for (Rnd[10] + 10)/20 seconds
Have fun...
There are three types of people in the world. Those who can count and those who can't.