TheRedBaron 0 Posted April 21, 2003 I downloaded the command refrence booklet for ofpec but can not get them to work. here are some things I have tryed but dont work. trying to get guy(jim) to say he is low on ammo ? jimammo <= 10: jim globalchat "I need more ammo" Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â or... to find the distance I used "jim" distance "bob" if this makes no sense then help me figure it out please. Oh and wich line do i put it in (activation, deactivation,etc)thanks. Share this post Link to post Share on other sites
Junker 0 Posted April 21, 2003 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">? jimammo <= 10: jim globalchat "I need more ammo" <span id='postcolor'> Dont put these in all in the activation line. Trigger in Conditions: jimammo <= 10 Activation: jim globalchat "I need more ammo God dammit" that line i quoted is for script purposes. the way i explained is for triggers so if a line has a : it means that the line before the : is a condition and after is a Activation/deactivation command. Distance dont use Quotes condition: Bob getdistance jim activation hint format["%1 is %2m from %3",Name Bob,Name distance,name jim] this will display BOB IS 100m from BOB Share this post Link to post Share on other sites
TheRedBaron 0 Posted April 21, 2003 thanks for the help junker Share this post Link to post Share on other sites
MintyBoy 0 Posted April 21, 2003 And it's jim ammo, not jimammo. Share this post Link to post Share on other sites