Jump to content

cybercoco

Member
  • Content Count

    176
  • Joined

  • Last visited

  • Medals

Posts posted by cybercoco


  1. 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

×