OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Bad Maniac on 21 Apr 2003, 18:47:51
-
I have an AI controlled East tank called e_tank1, and I set it's behaviour to "safe" so they will follow the road, but I still want the crew to be inside the tank.
I tried:
e_tank1 action["TURNIN"]; ??? (tried with and without ; )
but it doesn't work, please help me, URGENT!
-
try the switchmoves ... you'll probably have to do it on each crewmember, not the tank (i.e. tank1C, tank1G, tank1D)
list in ed depot
-
Then just for reference, what good is the action "TURNIN" ???
-
your tanks called e_tank1, and the command u tried was
e_tank1 action["TURNIN"];
....umm, in this ur asking the tank to turn in! U need to ask the crew to turn in!!!
-
Right Titan, I was suspecting something like it, but I assumed that the Game would be clever enough (DOH!)
Could you give me a pointer here, is there an easy way to give each member of the tank crew this order in the init field of the tank?
-
Syntax not guaranteed, and I haven't tried it, but you could probably put this in init.sqs
"_x action blah blah" forEach [tank1C, tank1D, tank1G, tank2C, tank2D, etc .... ]