Post your scripting questions / solutions here
Moderator: Moderators
-
Runt
- First Lieutenant
- Posts: 188
- Joined: Wed Feb 11, 2004 5:03 pm
- Location: The Netherlands
-
Contact:
Post
by Runt »
Hey,
Is it possible to count how many
grenades touched a trigger? If yes, how?

-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
-
Contact:
Post
by Rookie One.pl »
Spawn a trigger_multipleall with spawnflags 20, make a model check and just count them.
-
tltrude
- Chuck Norris
- Posts: 4774
- Joined: Sun Jul 07, 2002 4:03 am
- Location: Oklahoma, USA
-
Contact:
Post
by tltrude »
If PROJECTILES is set, a trigger multiple will respond to projectiles (rockets, grenades, etc.)
Tom Trude,

-
Rookie One.pl
- Site Admin
- Posts: 2752
- Joined: Fri Jan 31, 2003 7:49 pm
- Location: Nowa Wies Tworoska, Poland
-
Contact:
Post
by Rookie One.pl »
Which is precisely spawnflags 16 + spawnflags 4 (NOT_PLAYER) to prevent the trigger from being triggered by players = spawnflags 20.
-
Runt
- First Lieutenant
- Posts: 188
- Joined: Wed Feb 11, 2004 5:03 pm
- Location: The Netherlands
-
Contact:
Post
by Runt »
Gonna try that, thanks