2 Quick AI questions(isnt in jkspecs yet)


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by Elanthil on March 13, 1998 at 16:56:24:

Ok here goes..

1) if I have an AiSetMove,

ex: AISetMovePos(r2, GetThingPos(player));

and I DONT want the AI to push the player around (its trying to match coords),

should I change it to: AISetMovePos(r2, GetThingPos(player))-.1;

or should I make it: AISetMovePos(r2, GetThingPos(player)-.1);
-------------------------------------------------------------------------------

2) is the 'not a target' flag set in the .ai of the thing thats targeting the player, or is it set in, for instance, kyle.cog...

What Im getting at is, do you put it in an .ai to tell the .ai that the player is not a target FOR THAT PARTICULAR .AI THING?

Or is it a global effect to all .AI's that has to attach to the player?

And it would be JKSETFLAGS that I use in either case, yes?

Thanks :D

P.S. I now have Chewbacca and Han Solo following Kyp Durron around..awww aint dey cute? :D

Now if I could only get the lil pukes to mount a weapon and fire at anything EXCEPT kyle and the civilian/droid/vehicle classes.

Anyone tried anything like that before?

ok..toldja this would be short.

Hasta!



Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]