Advertisement
anden3

statue_actions_doctor

Apr 16th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 1.39 KB | None | 0 0
  1. // The value of the variable 'remembergreybeard' is the statue.
  2. remembergreybeard addAction ["Assign Doctor status", {
  3.     (_this select 1) player setVariable ["ACE_medical_medicClass", 2, true];
  4. }, nil, 6, true, true, "", "(player getVariable ['ACE_medical_medicClass', 0]) != 2", 8];
  5.  
  6. remembergreybeard addAction ["Unassign Doctor status", {
  7.     (_this select 1) setVariable ["ACE_medical_medicClass", 0, true];
  8. }, nil, 6, true, true, "", "(player getVariable ['ACE_medical_medicClass', 0]) == 2", 8];
  9.  
  10. remembergreybeard addAction ["Assign Medic status", {
  11.     (_this select 1) player setVariable ["ACE_medical_medicClass", 1, true];
  12. }, nil, 6, true, true, "", "(player getVariable ['ACE_medical_medicClass', 0]) != 1", 8];
  13.  
  14. remembergreybeard addAction ["Unassign Medic status", {
  15.     (_this select 1) setVariable ["ACE_medical_medicClass", 0, true];
  16. }, nil, 6, true, true, "", "(player getVariable ['ACE_medical_medicClass', 0]) == 1", 8];
  17.  
  18. remembergreybeard addAction ["Assign Pilot status", {
  19.     onMapSingleClick "";
  20.     (_this select 1) setVariable ["ACE_GForceCoef", 0.5];
  21. }, nil, 6, true, true, "", "(player getVariable ['ACE_GForceCoef', 1]) > 0.8", 8];
  22.  
  23. remembergreybeard addAction ["Unassign Pilot status", {
  24.     onMapSingleClick {_shift};
  25.     (_this select 1) setVariable ["ACE_GForceCoef", 1.0];
  26. }, nil, 6, true, true, "", "(player getVariable ['ACE_GForceCoef', 1]) <= 0.8", 8];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement