Home   Help Search Login Register  

Author Topic: Commands  (Read 629 times)

0 Members and 2 Guests are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
Commands
« on: 26 Sep 2004, 21:42:12 »
Hi

I am working on an addaction script that will allow me to give orders to troops that are not in my group. I am using the mapclick command to move them. The problem I have is I dont know the name of the orders. I want to be able to give the same orders you can to your own troops.

Is there anyway I can find these out. I just want the basics:

Hold fire and how to turn it off
Go prone
Stand up

Are these the actual command names?  

Any help is always appreciated  ;D

"Everyone dies so deal with it and move on"

                                                      ME

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Commands
« Reply #1 on: 26 Sep 2004, 22:41:39 »
Hmm.... I'm kinda surprised, because usually these types of commands are the FIRST things people (including me) learn how to do--way before they use addaction or onMapSingleClick.  :-* Anyway, check the online com ref to see how to use all these:

move   ->   makes group move somewhere
setcombatmode   ->   sets the group to open fire, hold fire, etc
setbehaviour   ->    sets the group to 'combat', 'safe', etc
setunitpos    ->   sets the unit to standing or prone

That is about it. Like I said, check the comm ref to see how to use all these.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!