Home   Help Search Login Register  

Author Topic: Question about "HasWeapon"  (Read 715 times)

0 Members and 1 Guest are viewing this topic.

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Question about "HasWeapon"
« on: 25 Nov 2002, 13:40:17 »
Hi!

I'm having problems with the "hasWeapon" command. I would like something to happen when the player puts his weapon on the ground. Do I use something like "unit hasweapon "m16" false" or what?

thx guys you're the best :)
Weeee...

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Question about "HasWeapon"
« Reply #1 on: 25 Nov 2002, 14:06:35 »
 :) playerName hasWeapon "M16"

...should do in a COND. field of a trigger   :thumbsup:


PS.

 bah! forgot the other way around  ::)

   !(PlayerName hasWeapon "M16")

see if it'll do ya, m8  :-*




« Last Edit: 25 Nov 2002, 14:09:16 by Tomb »

Offline Wildebeest

  • Contributing Member
  • **
  • The time the wildebeest ruled the Earth.
Re:Question about "HasWeapon"
« Reply #2 on: 25 Nov 2002, 14:30:42 »
thx worked just fine m8! thanku  ;D
Weeee...