OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: jeffddrowe on 30 Nov 2008, 09:33:02

Title: Help with Trigger - Radio explsove & A question about keeping count on weapons
Post by: jeffddrowe on 30 Nov 2008, 09:33:02
Hey all I have two questions.

1. I use to know a command that made it so I could make a trigger, so i could make a grenade go off by useing the radio 0-0-1 ect. I had to put the command in the On Activation bar. ( it was not a script it was a simple command)



1.5: I was able to remember a old command of "minename setdammage 1"    But there is one that let you select the explosive type like the LGB or the m76 and ect, please tell me the command to allow that

2. Is it possible for this. Bare with me while its hard to explain. After a mission id want to be able to scavange all the weapons from dead soldiers and then use the weapons to supply my unarmed comrades and for myself. What i would do tho is have to create a whole new mission of enemys and ect. Is that possible?
Title: Re: Help with Trigger - Radio explsove & A question about keeping count on weapons
Post by: Tyger on 02 Dec 2008, 19:26:59
1) Something like
Code: [Select]
grenade1 = "GrenadeHand" createVehicle (position Trigger1)
For an LGB, FFAR, etc, just insert the appropriate value.

2) Look into createUnit (http://community.bistudio.com/wiki/createUnit_array).