OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DarkCell on 24 Aug 2004, 18:18:21
-
well Thnx for all your Help Macguba with the Scud problem ;)
And Especialy Thnx for Dagon that gave me the scud files this time it realy works! ;D
But Let's get to a new problem I got....
After I destroyed Scud a chopper has to come and pick my team up
I named my group to Group1
So the chopper has to pick us all up he has to wait for everyone to get in :)
Bet here comes Trouble!
Some people died in Battle when destroying the scud, so it isn't a full team anymore and yeah I told the chopper to wait for Group1 but now he Waits for the DEAD people to come in to!!
So he never will Take off :-\
I guess something is wrong Can anyone Help me with this? ::)
-
wats the way u tell him 2 wait 4 da squad ?
try somin like dat (not garunteed) as da condition
"_x in chopername" count units group1 == "alive _X" count units group 1
LCD OUT
-
I use triggers that are grouped to waypoints
c1 = name of chopper
group1 = name of group
Waypoint1:
Type: LOAD
condition:this
on activation: c1 land "land"
Trigger grouped to Waypoint 1
(this trigger makes the chopper take off and land at LOAD Point)
activation: Vehicle
condition: ! (alive scud1)
on activation: c1 setfuel 1
This is where the problems Start
Waypoint 2:
Type: GET IN
Condition: this
on activation: c1 land "land"
Trigger grouped to this waypoint:
activation: vehicle
condition:group1 in c1
So I guess There is something wrong with the Trigger grouped to GET IN Waypoint :-\
-
try changing da condition 2 da 1 i gave u ;D nd put anoder WP 4 da choper so he moves from dere ;) ;D
if not u can send me demo mision 4 it (only da choper n group) nd ill take a look ;D
LCD OUT
-
I try the thing you said ;)
But what you mean with _x ????????
is there supposed to be a name or sumtin? ???
-
nah dats exact syntax
deres a whole command
_X w/ foreach nd count is just somin OFP uses 4 all ;D
LCD OUT