Page 1 of 1

Scripting help for ai.

Posted: Tue Aug 21, 2007 7:40 pm
by adolif
Okay, I can make pretty decent scripts but I need help with a syntax for this new script I wanted to make. I need a function syntax for

1. Checking to see if an ai is near a weapon.
2. Picking up the weapon.


I can assemble the rest on my own but I need the syntax for those 2 things. Just so I get the answer I want, please note what what I mean by syntax is that generalization thingy they use in tutorials like for example:

(If <boolean> <function for true> <function for false>)


notice how instead of using specifics It uses
general classification words in < > 's ?

Please reply in that format. I'm not saying your stupid, I just wanna be specific because i notice some topic's are mis-understood. Thank you.