Home   Help Search Login Register  

Author Topic: going prone..  (Read 868 times)

0 Members and 1 Guest are viewing this topic.

BlackDeath-CFH

  • Guest
going prone..
« on: 29 Oct 2002, 05:32:00 »
ok, simple question. is there a command i can put in a ai units field or anything i can do so that he doesnt go prone every time he sees an enemy?

sgt.scorpion

  • Guest
Re:going prone..
« Reply #1 on: 29 Oct 2002, 09:13:51 »
in initfield type

this setbehaviour "CARELESS"

I think that should work
 SGT. Scorpion

Guru

  • Guest
Re:going prone..
« Reply #2 on: 29 Oct 2002, 10:02:44 »
if your using a waypoint, it will mess with the ai no matter what.  
careless will make him not react at all no matter what.
what you might do if your not or dont, use a waypoint. is give the commands manually in units init.
-
:dude setunitpos "UP";dude setcombatmode "red"
-
he should stand there and shoot, as for like a sentry.
or add a switchmove
-
:dude setunitpos "UP";dudeswitchmove "CombatToCrouch";
dude setcombatmode "red"
-
then he would crouch and fire.
there are lots of switchmoves to choose from.
all this can be added to his init. or u can use a trigger.
which you can add conditions, like the knowsabout command.
or the distance command.
you can also use doMove command manually in the
trigger/unit init. to move him to cover, a fortress or a small shad lets say.
setting him to COMBAT or STEALTH or AWARE will automatically interfere with what you want. he will runaround go prone and so on.so if using a waypoint set that to none

Stalker

  • Guest
Re:going prone..
« Reply #3 on: 29 Oct 2002, 10:40:08 »
If you just need the unit to stand always put this in his init field: this setunitpos "UP".
This setbehaviour "careless" will make him standing with his gun on a back and don't reacting on enemies.

BlackDeath-CFH

  • Guest
Re:going prone..
« Reply #4 on: 30 Oct 2002, 05:22:38 »
yeah i want them to attack, just never go prone. because i put the men in the towers and whenever they see an enemy they go prone... and fall to there deaths