Forum Jump :

Author Message


Posts: 9
Rank:


Level: Member

Country: us
Location: California
Occupation: C.N.A.
Age: 29
In-game name: Amerikaner

 
#1 Posted at 2013-03-15 04:07        
     
I wanted to know how whats is the script command for spawn protection. i looked for it and i cant seem to find the right script and separate it.
if anyone could point me to the right direction it would be a wonderful help not only for me but those with the same questions


Author Message


Posts: 24
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-03-22 21:42        
     
I'm looking for the same thing, what commands are needed to kill a unit upon entering/leaving an area?

Thanks.

Added 2 hours 18 minutes later:

OK, I found the answer to my question...

in the On ACT slot write OPFOR1 setdamage 1; "OPFOR1" being whatever name you assign to the unit.

How do I make this work for the whole OPFOR team tho?

This post was edited by SteelSampson (2013-03-23 00:01, ago)


Advertisement


Author Message


Posts: 48
Rank:


Level: Member

Country: au
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2013-04-01 00:00        
     
On Act: {_x setdammage 1} forEach thislist;

If that doesnt work in the trigger, then you may have to use something like..

On Act: Ame_killscript = thislist execVM "restricted_area.sqf"

restricted_area.sqf
Private ["_trigger_list"];
_trigger_list = _this;
{_x setdamage 1} forEach thislist;

Let me know how it goes..

This post was edited by Azza76 (2013-04-01 00:11, ago)






Tags: Protection, Spawn