Forum Jump :

Author Message

[GCG]Xeno  

I should go back to kindergarten


Posts: 33
Rank:


Level: Muted

Country: il
Location:
Occupation:
Age: 39
In-game name: [GCG]Xeno

 
#1 Posted at 2013-02-24 17:38        
     
is it possible to close doors in a radius of a nearby unit ?
So,here's the thing,im making a mission ,using Tactical Breaching script,i want my team to patrol a city,then a task pops up , to locate a captin (OPFOR), raid the house , arrest,detain , escort him . how to close doors in radius of the team ????


Author Message


Posts: 23
Rank:


Level: Member

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

 
#2 Posted at 2013-02-25 03:02        
     
I will also be waiting for this answer, it might solve an issue I have. When i create rescue missions the hostage in the firefight runs away, maybe with doors closed he wont.


Advertisement


Author Message


Posts: 134
Rank:


Level: Member

Country: us
Location: Censored by Chuck Norris
Occupation: Why do you want to know? Stalker.....
Age: 117
In-game name: FuNKo1

 
#3 Posted at 2013-02-25 18:14        
     
I remember using this in some of my older missions:

0 = [getpos this,RADIUS] spawn {
   sleep 1;
   {
    private ""_b"";
     _b = _x;
    for ""_i"" from 0 to 7 do {
     _b animate [""dvere"" + str _i,1]
    };
   } foreach ((_this select 0) nearobjects (_this select 1))
  };

Just place down a gamelogic in the area you want all the doors to be closed, then paste that into its init field. Then put in the radius (in meters).

I Can't Think of a Creative Signature Right Now...

Author Message

[GCG]Xeno  

I should go back to kindergarten


Posts: 33
Rank:


Level: Muted

Country: il
Location:
Occupation:
Age: 39
In-game name: [GCG]Xeno

 
#4 Posted at 2013-02-28 21:11        
     
# FuNKo1 : I remember using this in some of my older missions:

0 = [getpos this,RADIUS] spawn {
   sleep 1;
   {
    private ""_b"";
     _b = _x;
    for ""_i"" from 0 to 7 do {
     _b animate [""dvere"" + str _i,1]
    };
   } foreach ((_this select 0) nearobjects (_this select 1))
  };

Just place down a gamelogic in the area you want all the doors to be closed, then paste that into its init field. Then put in the radius (in meters).
Alright,Thanks *DRINK* :-P *YAHOO* *DANCE*






Tags: Doors, Radius, Script, Team