OFPEC Forum
Missions Depot => Mission Discussion => Topic started by: 0sniper0 on 26 Jan 2004, 17:56:47
-
is there any way you can make your own men/enemy get scared on a mission. coz I was going to ask if its possible to make a mission like "the thing" where your men get scared and run like crazy (or away from battle, not turn into strange undesirable things ;D) same goes with the enemy. if they lose lots of there men the freak out and run for the hills
is it possible or am I living in a dream world
Mr Anderson..........?? where did that come from :o
-
Try using
allowfleeing 1
for the units you want to make "scared." I haven't tried this myself but it should make them run like scared little girls :P
-
As well as what SEAL84 suggested you could set up a script utilising a trigger that sets off retreat waypoints when the enemy/friendly forces lose a certain amount of men. This way, you could also easily control the point when you them to run. For example, when they have 5 men left the trigger activates in synch with new waypoints of something lie that.
-
thanks. but anothere thing i wont it to do is if you have 5 men and there are about 20 enemy. your men run coz there are too many men to take on. also it would be good to put it over the radio like
"oh my god theres too many men aagh!"
-
Something like
_enemyunit = enemygroup count units
_friendlyunit = friendgroup count units
if (_enemyunit > _friendlyunits) THEN {
repeat "_x allowfleeing 1" for each group friendgroup
Call that script in a trigger, with two groups, one named enemygroup, one named friendgroup.. Friendgroup will run..
I've no idea if that is right, it should be though...
- Ben