Home   Help Search Login Register  

Author Topic: Setting/Displaying Ammo?  (Read 536 times)

0 Members and 1 Guest are viewing this topic.

Darkninja

  • Guest
Setting/Displaying Ammo?
« on: 13 Mar 2004, 23:12:01 »
Well I got a mission where I want to check how much ammo (in shots) an AI (or player) has left.
Just as a second display of the ammo one has got. How would I do this?

Darkninja

  • Guest
Re:Setting/Displaying Ammo?
« Reply #1 on: 14 Mar 2004, 11:09:42 »
Ok I figured how to check for ammo. But how do I display variables via a hint?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Setting/Displaying Ammo?
« Reply #2 on: 14 Mar 2004, 11:54:08 »
with format

_a = Artak
_b = 24

hint format ["My name is %1 and I'm %2 years old",_a,_b]
Not all is lost.