Home   Help Search Login Register  

Author Topic: Action command  (Read 937 times)

0 Members and 1 Guest are viewing this topic.

Offline angusjm

  • Contributing Member
  • **
    • Virtual SAS
Action command
« on: 02 Apr 2003, 20:00:19 »
Does anyone have a list of all of the possible actions that you can use with the action command.

I wish to make a fairly complex script, involving many AI units moving to ammocrates, taking weapons and then getting into their appropriate vehicles.

Any help would be appreciated. ;D

major asshole

  • Guest
Re:Action command
« Reply #1 on: 02 Apr 2003, 22:31:07 »
Here are list of the actions that you can have a unit perform using the action command.
 
STR_NO_ACTION
 No action available
 
STR_ACTION_GETIN_COMMANDER
 Get in %s as commander
 
STR_ACTION_GETIN_DRIVER
 Get in %s as driver
 
STR_ACTION_GETIN_PILOT
 Get in %s as pilot
 
STR_ACTION_GETIN_GUNNER
 Get in %s as gunner
 
STR_ACTION_GETIN_CARGO
 Get in %s ride in back
 
STR_ACTION_HEAL
 Heal at %s
 
STR_ACTION_REPAIR
 Repair at %s
 
STR_ACTION_REFUEL
 Refuel at %s
 
STR_ACTION_REARM
 Rearm at %s
 
STR_ACTION_GETOUT
 Get out
 
STR_ACTION_LIGHTON
 Light on
 
STR_ACTION_LIGHTOFF
 Light off
 
STR_ACTION_ENGINEON
 Engine on
 
STR_ACTION_ENGINEOFF
 Engine off
 
STR_ACTION_WEAPON
 Weapon %s
 
STR_ACTION_MAGAZINE
 Reload %s
 
STR_ACTION_TAKEWEAPON
 Take %s
 
STR_ACTION_DROPTAKEWEAPON
 Take %s (drop %s)
 
STR_ACTION_TAKEMAGAZINE
 Take %s
 
STR_ACTION_DROPTAKEMAGAZINE
 Take %s (drop %s)
 
STR_ACTION_TAKEFLAG
 Take Flag
 
STR_ACTION_RETURNFLAG
 Return Flag
 
STR_ACTION_TURNIN
 Turn in
 
STR_ACTION_TURNOUT
 Turn out
 
STR_ACTION_WEAPONINHAND
 %s in hand
 
STR_ACTION_WEAPONONBACK
 %s on back
 
STR_ACTION_SITDOWN
 Sit down
 
STR_ACTION_EJECT
 Eject
 
STR_ACTION_LAND
 Landing autopilot
 
STR_ACTION_CANCEL_LAND
 Landing autopilot off
 
STR_ACTION_TO_DRIVER
 To driver's seat
 
STR_ACTION_TO_PILOT
 To pilot's seat
 
STR_ACTION_TO_GUNNER
 To gunner's seat
 
STR_ACTION_TO_COMMANDER
 To commander's seat
 
STR_ACTION_TO_CARGO
 To back seat
 
STR_ACTION_HIDE_BODY
 Hide body
 
STR_ACTION_TOUCH_OFF
 Touch Off %d bomb(s)
 
STR_ACTION_START_TIMER
 Set timer on (%.0f seconds)
 
STR_ACTION_SET_TIMER
 Set timer +%.0f sec. (%.0f remaining)
 
STR_ACTION_DEACTIVATE
 Deactivate bomb
 
STR_ACTION_TAKEOFF_GOGGLES
 Take off NV goggles
 
STR_ACTION_TAKEON_GOGGLES
 Take on NV goggles
 
STR_ACTION_MANUAL_FIRE
 Manual fire
 
STR_ACTION_MANUAL_FIRE_CANCEL
 Cancel manual fire
 
STR_ACTION_HOVER
 Auto-hover
 
STR_ACTION_HOVER_CANCEL
 Cancel Auto-hover
 
STR_ACTION_STROKEFIST
 Strike with fist
 
STR_ACTION_STROKEGUN
 Strike with gun
 


titan

  • Guest
Re:Action command
« Reply #2 on: 03 Apr 2003, 21:27:36 »
how cld you make an action that isnt on that list...like having an action where you cld kill smeone using the unitname setdammage 1 command but so its under the action menu!

wld it be smething like..

str_action_unitname setdammage 1

?

deaddog

  • Guest
Re:Action command
« Reply #3 on: 03 Apr 2003, 21:32:09 »
Look in the official command reference for the "addaction" command.  You can use that to execute a script to do anything you want.

Hope this helps.

titan

  • Guest
Re:Action command
« Reply #4 on: 03 Apr 2003, 21:37:17 »
it only tells u for scripts, im also looking for a none script one, so u can have it in a trigger or smething!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Action command
« Reply #5 on: 04 Apr 2003, 01:40:05 »
Pretty much anything you can put in a script, you can put in a trigger.   You can certainly use actions in the On Activation field of triggers.

What you are talking about involves the addaction command ... look it up in the command ref.
Plenty of reviewed ArmA missions for you to play

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:Action command
« Reply #6 on: 04 Apr 2003, 03:10:12 »
Before you go pulling your hair out trying to get these to work, please realize that nonone has ever been able to figure out how to get some them to work...like the action that supposedly reloads a weapon. The reload action simply does not work, or has some kind of crazy syntax that nobody has found out yet.

Good luck.
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

Offline angusjm

  • Contributing Member
  • **
    • Virtual SAS
Re:Action command
« Reply #7 on: 04 Apr 2003, 14:42:41 »
So...  what would be the syntax to order someone to getin a chopper as the pilot?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Action command
« Reply #8 on: 04 Apr 2003, 21:00:09 »
try
unitname assignasdriver vehiclename
unitname ordergetin true
Not all is lost.

Offline angusjm

  • Contributing Member
  • **
    • Virtual SAS
Re:Action command
« Reply #9 on: 05 Apr 2003, 14:51:40 »
Thanks, I was trying to use the action command for this.

I was also trying to use the action command to get a unit to pickup weapons from ammocrates...

Would I use the action command for this, or is there something else?

titan

  • Guest
Re:Action command
« Reply #10 on: 05 Apr 2003, 17:16:46 »
wldnt the only use of the getin chopper and pick up ammo from crate action only be useful for the AI, as it is automattic for the player. So things smething like an action that wld let you, say...create a unit, like i said in a previous post. Or wld you have to do it via a script?