OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Owens on 19 Jun 2003, 16:21:14
-
I have a hostage situation where west rescue a west pilot from east.
I had to make the group leader a civi so they didnt fire at pilot.
Q1. But is there a way to make the pilot join the west group when a trigger happens and be able to command him. Will it need a script or just syntax in init field of the unit.
Q2. Is there a command for hold position cos my pilot keeps runnin round like a madman and ends up in the middle of a forest.
Thx
-
I had to make the group leader a civi so they didnt fire at pilot.
Try using this setcaptive true so you dont have to make civi group leader
Q1. But is there a way to make the pilot join the west group when a trigger happens and be able to command him. Will it need a script or just syntax in init field of the unit.
loon1 join loon2
Is there a command for hold position cos my pilot keeps runnin round like a madman and ends up in the middle of a forest.
- Use a Hold Waypoint
Head over to the Editor Depot and check out the Official and Unofficial Command Ref. Manuals ;D
-
thx a lot...i can continue on mission now :D
ill go have a look at command refs then.
Thx
-
Don't forgot to hit the Solve button below....
-
The join thing aint working for some reason.
i Put this in the on activation field of trigger:
captive1 join playergrp; Captive2 join playergrpIm gettin an error from it for some reason, can you see anything that im doin wrong?
I think the error said something about expected array, am i missin some brackets somewhere or something like that?
thx
-
name the morons:
cap1
cap2
then use this code, matey:
[cap1, cap2] join Player :thumbsup: :-*
-
Its working now. Thx a lot Tomb ;D