Set a variable as addAction's title in ARMA 3 - MISSION EDITING & SCRIPTING Posted December 20, 2015 Hi, This stores the motor's health of the vehicle in the local variable _motorhealth _motorhealth = vehiclename getHit "motor"; then i want the result (_motorhealth) to show as the title of a addAction. The following code snippet is taken from the internet (raw) : _myname = name player; _addaction = amo addAction [_myname,"scripts\rearm.sqf"]; And the following is my non-working code _motorhealth = vehiclename getHit "motor"; vehiclename addAction [_motorhealth,"niania.sqf"]; Any ideas how it might work ? C.Coco
Set a variable as addAction's title
in ARMA 3 - MISSION EDITING & SCRIPTING
Posted
Hi,
This stores the motor's health of the vehicle in the local variable _motorhealth
then i want the result (_motorhealth) to show as the title of a addAction.
The following code snippet is taken from the internet (raw) :
And the following is my non-working code
Any ideas how it might work ?
C.Coco