Files
DayZ-Epoch/SQF/dayz_code/Configs/CfgVehicles/CommonActions.hpp
ebayShopper 90487cde10 Update player_fired.sqf
Vanilla commits:

70fc007062

f327c99b02
2017-11-22 12:49:06 -05:00

42 lines
1.2 KiB
C++

#define ACTION_REPAIR displayName = $STR_ACTIONS_REPAIRVEH;\
displayNameDefault = $STR_ACTIONS_REPAIRVEH;\
priority = 0;\
position = "";\
showWindow = 0;\
onlyForPlayer = 1;\
shortcut = "";\
condition = "(['Repair',this] call userActionConditions)";\
statement = "this call player_repairVehicle;";\
hideOnUse = 0
#define ACTION_SALVAGE displayName = $STR_ACTIONS_SALVAGEVEH;\
displayNameDefault = $STR_ACTIONS_SALVAGEVEH;\
priority = 0;\
position = "";\
showWindow = 0;\
onlyForPlayer = 1;\
shortcut = "";\
condition = "(['Salvage',this] call userActionConditions)";\
statement = "this call player_salvageVehicle;";\
hideOnUse = 0
#define ACTION_PUSH displayName = $STR_ACTIONS_PUSH;\
displayNameDefault = $STR_ACTIONS_PUSH;\
priority = 0;\
radius = 8;\
position = "";\
showWindow = 0;\
onlyForPlayer = 1;\
shortcut = "";\
condition = "(['PushPlane',this] call userActionConditions)";\
statement = "this call player_pushPlane;"
#define ACTION_REARM priority = 3;\
radius = 3;\
position = "camera";\
showWindow = 0;\
onlyForPlayer = 1;\
shortcut = "reloadMagazine";\
condition = "(['AddAmmo',this] call userActionConditions)";\
hideOnUse = 1