Home   Help Search Login Register  

Author Topic: Threw a smoke shell.  (Read 637 times)

0 Members and 2 Guests are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Threw a smoke shell.
« on: 11 Mar 2003, 16:59:39 »
Hi! Is there a condition to check if a guy has trown a smoke shell. I canÂ't use the command that makes so if the player has fewer than x smoke shells the conition is true because there are smoke shells scattered around the whole mission.

Thx
« Last Edit: 11 Mar 2003, 16:59:48 by The real Armstrong »

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Threw a smoke shell.
« Reply #1 on: 11 Mar 2003, 23:55:37 »
if you have resistance you can use this

player addEventHandler ["fired",{_this exec "smoke.sqs"}]


and in smoke.sqs put

?_this select 3 == "smokeshell" : hint "you threw smoke"

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Threw a smoke shell.
« Reply #2 on: 12 Mar 2003, 17:52:25 »
IÂ'll check that out as soon as I have looted the forums for new posts ;D, thx