Actions List – Operation Flashpoint

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(total redo)
Line 1: Line 1:
[[Category:Operation_Flashpoint|ACTIONSLIST]]
[[Category:Operation_Flashpoint|ACTIONSLIST]]


Possible arguments o be used in the [[action]] command:
Syntax: '''unit action ["actionname"]''', where
* unit = [[Object]]: pointer to the unit that should perform this action
* actionname = [[String]]: name of action to be performed


Capitalization for the commands doesn't matter (i.e. player action ["DROP WEAPON",box,1,1,"AK74"] is the same as player action ["drop weapon",box,1,1,"ak74"])


'''unitname action ["NO ACTION"] '''


No action available
== AUTOHOVER ==
'''helicopter1 action ["AUTOHOVER"]'''


Toggles hovering on and off. (Only works if player is pilot)


'''unitname action ["GETIN COMMANDER",vehiclename] '''
<code>ChopperOne action ["AUTOHOVER"]</code>


Get in vehiclename as commander


== CANCEL LAND ==
'''plane1 action ["CANCEL LAND"]'''


'''unitname action ["GETIN DRIVER",vehiclename] '''
Cancel autopilot landing for 'plane1'.


Get in vehiclename as driver
<code>PlaneOne action ["CANCEL LAND"]</code>




'''unitname action ["GETIN PILOT",vehiclename] '''
== DEACTIVATE ==
'''unit1 action ["DEACTIVATE",unit2,0,0,"PIPEBOMB"]'''


Get in vehiclename as pilot
Soldier 'unit1' will deactivate a satchel charge that has been placed by unit2.<br>
This happens from a distance (i.e. unit1 will not walk up to the charge to deactivate it, but do it 'remotely').<br>
If unit2 is nearby the charge when it is being deactivated it will end up back in its inventory.


<code>SoldierOne action ["DEACTIVATE",player,0,0,"PIPEBOMB"]</code>


'''unitname action ["GETIN GUNNER",vehiclename] '''


Get in vehiclename as gunner
== DROP WEAPON / MAGAZINE ==
'''unit1 action ["DROP MAGAZINE",container,1,1,"MAGAZINENAME"]'''<br>
'''unit1 action ["DROP WEAPON",container,1,1,"WEAPONNAME"]'''


Soldier 'unit1' will put a magazine or weapon ([[Weapons|see list]]) into weaponsholder 'container' (ammo box, car, etc.).


'''unitname action ["GETIN CARGO",vehiclename] '''
<code>SoldierOne action ["DROP MAGAZINE",CarOne,1,1,"AK74"]</code>


Get in vehiclename ride in back


== EJECT ==
'''unit1 action ["EJECT",vehicle1]'''


'''unitname action ["HEAL",location] '''
Soldier 'unit1' will jump out of 'vehicle1'. (Via parachute in case of planes & helicopters.)


Heal at location
<code>SoldierOne action ["EJECT",ChopperOne]</code>




'''unitname action ["REPAIR",location] '''
== ENGINE ON / OFF ==
'''unit1 action ["ENGINE ON",vehicle1]'''<br>
'''unit1 action ["ENGINE OFF",vehicle1]'''


Repair at location
Soldier 'unit1' will turn engine of 'vehicle1' either on or off.<br>
Engine will only stay on in vehicles like carshelicopters or planes. In cars the engine will be shut off again right away.


<code>SoldierOne action ["ENGINE ON",ChopperOne]</code>


'''unitname action ["REFUEL",location] '''


Refuel at location
== FIRE INFLAME / PUT DOWN ==
'''unit1 action ["FIRE INFLAME",fire1]'''<br>
'''unit1 action ["FIRE PUT DOWN",fire1]'''


Soldier 'unit1' will ignite ("fire inflame") or extinguish ("fire put down") fireplace/lamp 'fire1'.


'''unitname action ["REARM",location] '''
<code>SoldierOne action ["FIRE INFLAME",LampOne]</code>


Rearm at location


== GETIN COMMANDER / DRIVER/GUNNER ==
'''unit1 action ["GETIN COMMANDER",vehicle1]'''<br>
'''unit1 action ["GETIN DRIVER",vehicle1]'''<br>
'''unit1 action ["GETIN GUNNER",vehicle1]'''


'''unitname action ["GETOUT"] '''
Soldier 'unit1' will be teleported next to 'vehicle1', play the entring animation, and then be assigned as either commander, driver or gunner.


Get out
<code>SoldierOne action ["GETIN COMMANDER",CarOne]</code>




'''unitname action ["LIGHT ON"] '''
== GETOUT ==
'''unit1 action ["GETOUT",vehicle1]'''


Light on
Soldier 'unit1' will jump out of 'vehicle1'. (No parachute in case of planes & helicopters.)


<code>SoldierOne action ["GETOUT",ChopperOne]


'''unitname action ["LIGHT OFF"] '''


Light off
== HANDGUN ON / OFF ==
'''unit1 action ["HANDGUN OFF"]'''<br>
'''unit1 action ["HANDGUN ON"]'''


Soldier 'unit1' will switch to primary ("handgun off") or secondary ("handgun on") weapon.


'''unitname action ["ENGINEON"] '''
<code>SoldierOne action ["HANDGUN ON"]</code>


Engine on


== HEAL ==
'''unit1 action ["HEAL",unit2]'''


'''unitname action ["ENGINEOFF"] '''
Medic 'unit2' will teleport to 'unit1' and heal him.


Engine off
<code>SoldierOne action ["HEAL", MedicOne]</code>




'''unitname action ["WEAPON",weaponname] '''
== HIDEBODY ==
'''unit1 action ["HIDEBODY",unit2]'''


Weapon weaponname
Soldier 'unit1' will hide (bury) 'unit2'.


<code>SoldierOne action ["HIDEBODY", SoldierTwo]</code>


'''unitname action ["MAGAZINE",weaponname] '''


Reload weaponname
== LADDERDOWN / LADDERUP ==
'''unit1 action ["ladderdown",building1]'''<br>
'''unit1 action ["ladderdown",object ID]'''<br>
'''unit1 action ["ladderup",building1]'''<br>
'''unit1 action ["ladderup",object ID]'''


Soldier 'unit1' will either climb up or down the ladder of a building that's either defined via name or object ID.


'''unitname action ["TAKEWEAPON",weaponname] '''
<code>SoldierOne action ["ladderup",object 123456]</code>


Take weaponname


== LAND GEAR ==
'''plane1 action ["LAND GEAR"]'''


'''unitname action ["DROPTAKEWEAPON",weaponname,(weaponname)] '''
Toggle landing gear on 'plane1'.<br>
Only works if player is pilot.


Take weaponname (drop weaponname)
<code>PlaneOne action ["LAND GEAR"]</code>




'''unitname action ["TAKEMAGAZINE",weaponname] '''
== LIGHT OFF / ON ==
'''vehicle1 action ["LIGHT ON"]'''<br>
'''vehicle1 action ["LIGHT OFF"]'''


Take weaponname
Turns lights of 'vehicle1' either on or off.<br>
Lights will not stay on unless driver is in SAFE or CARELESS mode.<br>
Lights will not stay off if driver is in SAFE or CARELESS mode.


<code>CarOne action ["LIGHT OFF"]</code>


'''unitname action ["DROPTAKEMAGAZINE",weaponname,(weaponname)] '''


Take weaponname (drop weaponname)
== MANUALFIRE ==
'''tank1 action ["MANUALFIRE"]'''


Toggles manual fire mode if player is driver of vehicle.


'''unitname action ["TAKEFLAG"] '''
<code>TankOne action ["MANUALFIRE"]</code>


Take Flag


== MOVETOCARGO / MOVETOCOMMANDER / MOVETODRIVER / MOVETOGUNNER ==
'''unit1 action ["MOVETOCARGO",vehicle1]'''<br>
'''unit1 action ["MOVETOCOMMANDER",vehicle1]'''<br>
'''unit1 action ["MOVETODRIVER",vehicle1]'''<br>
'''unit1 action ["MOVETOGUNNER",vehicle1]'''


'''unitname action ["RETURNFLAG"] '''
Moves 'unit1' into cargo, commander, driver or gunner position.<br>
If that position was occupied before, the units will swap places.


Return Flag
<code>SoldierOne action ["MOVETODRIVER",CarOne]</code>




'''unitname action ["TURNIN"] '''
== NVGOGGLES ==
'''player action ["nvgoggles"]'''


Turn in
Toggles night vision goggles on/off for player.


<code>player action ["NVGOGGLES"]</code>


'''unitname action ["TURNOUT"] '''


Turn out
== PUT ==
'''unit1 fire ["PUT","PIPEBOMB"]'''


Soldier 'unit1' places a satchel charge at current position.<br>
Requires the 'fire' command instead of 'action'!


'''unitname action ["WEAPONINHAND",weaponname] '''
<code>SoldierOne fire ["PUT","PIPEBOMB"]</code>


weaponname in hand


== REARM / REFUEL / REPAIR ==
'''vehicle1 action ["REARM",vehicle2]'''
'''vehicle1 action ["REFUEL",vehicle2]'''
'''vehicle1 action ["REPAIR",vehicle2]'''


'''unitname action ["WEAPONONBACK",weaponname] '''
Vehicle1 will receive weapons/fuel/repair from 'vehicle2' immediately and via teleportation.


weaponname on back
<code>SoldierOne action ["REARM",TruckOne]</code>




'''unitname action ["SITDOWN"] '''
== RETURN FLAG ==
'''unit1 action ["RETURN FLAG",flag1]'''


Sit down
Soldier 'unit1' returns 'flag1' to base.


<code>SoldierOne action ["RETURN FLAG",FlagOne]</code>


'''unitname action ["EJECT"] '''


Eject
== SALUTE ==
'''unit1 action ["SALUTE"]'''


Soldier 'unit1' salutes, and stays in that animation.<br>
Only works in SAFE and CARELESS mode.


'''unitname action ["LAND"] '''
<code>SoldierOne action ["SALUTE"]</code>


Landing autopilot


== SCUD LAUNCH / START ==
'''scud1 action ["SCUD LAUNCH"]'''<br>
'''scud1 action ["SCUD START"]'''


'''unitname action ["CANCEL LAND"] '''
Scud1 launches or fires its missile.<br>
The launch process takes about 10.5 seconds.


Landing autopilot off
<code>ScudOne action ["SCUD START"]</code>




'''unitname action ["TO DRIVER"] '''
== SETTIMER ==
'''unit1 action ["SETTIMER"]'''  


To driver's seat
Soldier 'unit1' activates the timer for a satchel charge.<br>
Charge has to be places first via a unit1 fire ["PUT","PIPEBOMB"] command.


<code>SoldierOne action ["SETTIMER"]</code>


'''unitname action ["TO PILOT"] '''


To pilot's seat
== SITDOWN ==
'''unit1 action ["SITDOWN"]'''


Soldier 'unit1' sits down.<br>
Only works in SAFE and CARELESS mode.


'''unitname action ["TO GUNNER"] '''
<code>SoldierOne action ["SITDOWN"]</code>


To gunner's seat


== STROKEFIST ==
'''unit1 action ["STROKEFIST"]'''


'''unitname action ["TO COMMANDER"] '''
Soldier 'unit1' performs a boxing animation.


To commander's seat
<code>SoldierOne action ["STROKEFIST"]</code>




'''unitname action ["TO CARGO"] '''
== STROKEGUN ==
'''unit1 action ["STROKEGUN"]'''  


To back seat
Soldier 'unit1' performs a hitting animation with his weapon.


<code>SoldierOne action ["STROKEGUN"]</code>


'''unitname action ["HIDE BODY"] '''


Hide body
== TAKE FLAG ==
'''unit1 action ["Take Flag",flag1]'''


Soldier 'unit1' takes control of 'flag1'.


'''unitname action ["TOUCH OFF",bombname] '''
<code>SoldierOne action ["TAKE FLAG",FlagOne]</code>


Touch Off bombname bomb(s)


== TAKE MAGAZINE / WEAPON ==
'''unit1 action ["TAKE MAGAZINE",container1,0,0,"MAGAZINENAME"]'''<br>
'''unit1 action ["TAKE WEAPON",container1,0,0,"WEAPONNAME"]'''


'''unitname action ["START TIMER",time] '''
Soldier 'unit1' takes one magazine/weapon of specified type ([[Weapons|see list]]) from weaponsholder 'container1' (car, ammo box, unit).<br>
Transfer happens immediately and via teleportation. Unit1 plays pickup animation at its current position, no matter where 'container1' is.


Set timer on ("time" of seconds)
<code>SoldierOne action ["TAKE MAGAZINE",SoldierTwo,0,0,"RPGLAUNCHER"]</code>




'''unitname action ["SET TIMER",time,(amount)] '''
== TOUCHOFF ==
'''unit1 action ["TOUCHOFF"]'''


Set timer plus "time" of sec. ("amount" of remaining)
Soldier 'unit1' touches off satchel charge.


<code>SoldierOne action ["TOUCHOFF"]</code>


'''unitname action ["DEACTIVATE"] '''


Deactivate bomb
== TURNIN / TURNOUT ==
'''tank1 action ["TURNIN"]'''<br>
'''tank1 action ["TURNOUT"]'''


Crew of 'tank1' turns in/out (gets in and out of hatches).


'''unitname action ["TAKEOFF GOGGLES"] '''
<code>TankOne action ["TURNIN"]</code>


Take off NV goggles


== WEAPONINHAND / WEAPONONBACK ==
'''unit1 action ["WEAPONINHAND"]'''<br>
'''unit1 action ["WEAPONONBACK"]'''


'''unitname action ["TAKEON GOGGLES"] '''
Soldier 'unit1' takes weapon from/to back.<br>
Change is persistent with player, but AI units will switch back if their behaviour mode is incompatible (SAFE or CARELESS with WEAPONINHAND, and STEALTH, COMBAT & AWARE with WEAPONONBACK).


Take on NV goggles
<code>SoldierOne action ["WEAPONONBACK"]</code>
 
 
'''unitname action ["MANUAL FIRE"] '''
 
Manual fire
 
 
'''unitname action ["MANUAL FIRE CANCEL"] '''
 
Cancel manual fire
 
 
'''unitname action ["HOVER"] '''
 
Auto-hover
 
 
'''unitname action ["HOVER CANCEL"] '''
 
Cancel Auto-hover
 
 
'''unitname action ["STROKEFIST"] '''
 
Strike with fist
 
 
'''unitname action ["STROKEGUN"] '''
 
Strike with gun

Revision as of 18:49, 24 July 2006


Syntax: unit action ["actionname"], where

  • unit = Object: pointer to the unit that should perform this action
  • actionname = String: name of action to be performed

Capitalization for the commands doesn't matter (i.e. player action ["DROP WEAPON",box,1,1,"AK74"] is the same as player action ["drop weapon",box,1,1,"ak74"])


AUTOHOVER

helicopter1 action ["AUTOHOVER"]

Toggles hovering on and off. (Only works if player is pilot)

ChopperOne action ["AUTOHOVER"]


CANCEL LAND

plane1 action ["CANCEL LAND"]

Cancel autopilot landing for 'plane1'.

PlaneOne action ["CANCEL LAND"]


DEACTIVATE

unit1 action ["DEACTIVATE",unit2,0,0,"PIPEBOMB"]

Soldier 'unit1' will deactivate a satchel charge that has been placed by unit2.
This happens from a distance (i.e. unit1 will not walk up to the charge to deactivate it, but do it 'remotely').
If unit2 is nearby the charge when it is being deactivated it will end up back in its inventory.

SoldierOne action ["DEACTIVATE",player,0,0,"PIPEBOMB"]


DROP WEAPON / MAGAZINE

unit1 action ["DROP MAGAZINE",container,1,1,"MAGAZINENAME"]
unit1 action ["DROP WEAPON",container,1,1,"WEAPONNAME"]

Soldier 'unit1' will put a magazine or weapon (see list) into weaponsholder 'container' (ammo box, car, etc.).

SoldierOne action ["DROP MAGAZINE",CarOne,1,1,"AK74"]


EJECT

unit1 action ["EJECT",vehicle1]

Soldier 'unit1' will jump out of 'vehicle1'. (Via parachute in case of planes & helicopters.)

SoldierOne action ["EJECT",ChopperOne]


ENGINE ON / OFF

unit1 action ["ENGINE ON",vehicle1]
unit1 action ["ENGINE OFF",vehicle1]

Soldier 'unit1' will turn engine of 'vehicle1' either on or off.
Engine will only stay on in vehicles like carshelicopters or planes. In cars the engine will be shut off again right away.

SoldierOne action ["ENGINE ON",ChopperOne]


FIRE INFLAME / PUT DOWN

unit1 action ["FIRE INFLAME",fire1]
unit1 action ["FIRE PUT DOWN",fire1]

Soldier 'unit1' will ignite ("fire inflame") or extinguish ("fire put down") fireplace/lamp 'fire1'.

SoldierOne action ["FIRE INFLAME",LampOne]


GETIN COMMANDER / DRIVER/GUNNER

unit1 action ["GETIN COMMANDER",vehicle1]
unit1 action ["GETIN DRIVER",vehicle1]
unit1 action ["GETIN GUNNER",vehicle1]

Soldier 'unit1' will be teleported next to 'vehicle1', play the entring animation, and then be assigned as either commander, driver or gunner.

SoldierOne action ["GETIN COMMANDER",CarOne]


GETOUT

unit1 action ["GETOUT",vehicle1]

Soldier 'unit1' will jump out of 'vehicle1'. (No parachute in case of planes & helicopters.)

SoldierOne action ["GETOUT",ChopperOne]


HANDGUN ON / OFF

unit1 action ["HANDGUN OFF"]
unit1 action ["HANDGUN ON"]

Soldier 'unit1' will switch to primary ("handgun off") or secondary ("handgun on") weapon.

SoldierOne action ["HANDGUN ON"]


HEAL

unit1 action ["HEAL",unit2]

Medic 'unit2' will teleport to 'unit1' and heal him.

SoldierOne action ["HEAL", MedicOne]


HIDEBODY

unit1 action ["HIDEBODY",unit2]

Soldier 'unit1' will hide (bury) 'unit2'.

SoldierOne action ["HIDEBODY", SoldierTwo]


LADDERDOWN / LADDERUP

unit1 action ["ladderdown",building1]
unit1 action ["ladderdown",object ID]
unit1 action ["ladderup",building1]
unit1 action ["ladderup",object ID]

Soldier 'unit1' will either climb up or down the ladder of a building that's either defined via name or object ID.

SoldierOne action ["ladderup",object 123456]


LAND GEAR

plane1 action ["LAND GEAR"]

Toggle landing gear on 'plane1'.
Only works if player is pilot.

PlaneOne action ["LAND GEAR"]


LIGHT OFF / ON

vehicle1 action ["LIGHT ON"]
vehicle1 action ["LIGHT OFF"]

Turns lights of 'vehicle1' either on or off.
Lights will not stay on unless driver is in SAFE or CARELESS mode.
Lights will not stay off if driver is in SAFE or CARELESS mode.

CarOne action ["LIGHT OFF"]


MANUALFIRE

tank1 action ["MANUALFIRE"]

Toggles manual fire mode if player is driver of vehicle.

TankOne action ["MANUALFIRE"]


MOVETOCARGO / MOVETOCOMMANDER / MOVETODRIVER / MOVETOGUNNER

unit1 action ["MOVETOCARGO",vehicle1]
unit1 action ["MOVETOCOMMANDER",vehicle1]
unit1 action ["MOVETODRIVER",vehicle1]
unit1 action ["MOVETOGUNNER",vehicle1]

Moves 'unit1' into cargo, commander, driver or gunner position.
If that position was occupied before, the units will swap places.

SoldierOne action ["MOVETODRIVER",CarOne]


NVGOGGLES

player action ["nvgoggles"]

Toggles night vision goggles on/off for player.

player action ["NVGOGGLES"]


PUT

unit1 fire ["PUT","PIPEBOMB"]

Soldier 'unit1' places a satchel charge at current position.
Requires the 'fire' command instead of 'action'!

SoldierOne fire ["PUT","PIPEBOMB"]


REARM / REFUEL / REPAIR

vehicle1 action ["REARM",vehicle2] vehicle1 action ["REFUEL",vehicle2] vehicle1 action ["REPAIR",vehicle2]

Vehicle1 will receive weapons/fuel/repair from 'vehicle2' immediately and via teleportation.

SoldierOne action ["REARM",TruckOne]


RETURN FLAG

unit1 action ["RETURN FLAG",flag1]

Soldier 'unit1' returns 'flag1' to base.

SoldierOne action ["RETURN FLAG",FlagOne]


SALUTE

unit1 action ["SALUTE"]

Soldier 'unit1' salutes, and stays in that animation.
Only works in SAFE and CARELESS mode.

SoldierOne action ["SALUTE"]


SCUD LAUNCH / START

scud1 action ["SCUD LAUNCH"]
scud1 action ["SCUD START"]

Scud1 launches or fires its missile.
The launch process takes about 10.5 seconds.

ScudOne action ["SCUD START"]


SETTIMER

unit1 action ["SETTIMER"]

Soldier 'unit1' activates the timer for a satchel charge.
Charge has to be places first via a unit1 fire ["PUT","PIPEBOMB"] command.

SoldierOne action ["SETTIMER"]


SITDOWN

unit1 action ["SITDOWN"]

Soldier 'unit1' sits down.
Only works in SAFE and CARELESS mode.

SoldierOne action ["SITDOWN"]


STROKEFIST

unit1 action ["STROKEFIST"]

Soldier 'unit1' performs a boxing animation.

SoldierOne action ["STROKEFIST"]


STROKEGUN

unit1 action ["STROKEGUN"]

Soldier 'unit1' performs a hitting animation with his weapon.

SoldierOne action ["STROKEGUN"]


TAKE FLAG

unit1 action ["Take Flag",flag1]

Soldier 'unit1' takes control of 'flag1'.

SoldierOne action ["TAKE FLAG",FlagOne]


TAKE MAGAZINE / WEAPON

unit1 action ["TAKE MAGAZINE",container1,0,0,"MAGAZINENAME"]
unit1 action ["TAKE WEAPON",container1,0,0,"WEAPONNAME"]

Soldier 'unit1' takes one magazine/weapon of specified type (see list) from weaponsholder 'container1' (car, ammo box, unit).
Transfer happens immediately and via teleportation. Unit1 plays pickup animation at its current position, no matter where 'container1' is.

SoldierOne action ["TAKE MAGAZINE",SoldierTwo,0,0,"RPGLAUNCHER"]


TOUCHOFF

unit1 action ["TOUCHOFF"]

Soldier 'unit1' touches off satchel charge.

SoldierOne action ["TOUCHOFF"]


TURNIN / TURNOUT

tank1 action ["TURNIN"]
tank1 action ["TURNOUT"]

Crew of 'tank1' turns in/out (gets in and out of hatches).

TankOne action ["TURNIN"]


WEAPONINHAND / WEAPONONBACK

unit1 action ["WEAPONINHAND"]
unit1 action ["WEAPONONBACK"]

Soldier 'unit1' takes weapon from/to back.
Change is persistent with player, but AI units will switch back if their behaviour mode is incompatible (SAFE or CARELESS with WEAPONINHAND, and STEALTH, COMBAT & AWARE with WEAPONONBACK).

SoldierOne action ["WEAPONONBACK"]