OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 19 Dec 2004, 17:23:56
-
how can i get a group to carry on running full speed with enemy machine gun firing at them ?
-
I tried to do this once, and for some reason, found this worked.
in leaders init field:
this setunitpos "UP"
Even if the leader is killed, the whole group stayed standing ???
-
Great! I have been trying to make a cutscene where a couple of prisoners are executed in an enemy camp. When the executioner fired, all other characters hit the dirt. This, of course, looked very ugly. I'll try this to keep them standing. :D
-
it only effects the unit not the whole squad
-
I found that a simpler [perhaps more crude method] is setting their attitudes to careless, depends what else you're going for though.
-
The setunitpos thing is a good idea. I use it all the time but the only porblem is that instead of sprinting continuously they often tend to walk looking down the sight which looks very imbecilic. Does that make sense.
-
If you use the SetPos thing, and then put the waypoint as "Full" speed, then they'll sprint all the way. ;)
As for the only works on the leader bit, I don't know how it happened. I was going to put it on every unit in my charge, but I wanted to see if it worked first, so I just put it in the leaders init field. From then on, the entire squad just stood up, and stayed standing when the next leader took over ???