OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dertn on 20 Mar 2003, 19:20:46
-
This is my last resort to figure out this question...
The thing is that i've got a mission where the player should be able to call in armoured support if needed.
I've tried to figure this out and I've tried using the lockWP command with a radio trigger.
I had a group of T-80 tanks at which I used the group command , and the the [groupname] lockwp true in init field. And then i added a trigger activated by radio which had the [groupname] lockWP false command to make the T-80's come to your rescue..
But the thing is ; the T-80's just drive on and they totally ignore the lockWP command...
And to be honest... my hair has turned grey cuz of this, so ...please...help
-
How about you forget the lockwp thingy and simply use a condition.
put in your radio triggers 'on activation' line
tanksgogo=true
then create 2 waypoints for the tank group
1st right on top of the leader tank
2nd to the place where you want them to go after the radio call
then put in the 1st waypoints 'condition' field
tanksgogo
and there you have it. The tanks won't move untill the condition 'tanksgogo' is set to true by the radio trigger. ;)
-
Thank you... the colour in my hair is slowly coming back since I got one less problem :) THNX!!