Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. class Openaufzug_boden
  2. {
  3. displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />"; // This is displayed in the center of the screen just below crosshair. In this case it's an icon, not a text.
  4. displayName = "Aufzug hoch 1 OG"; // Label of the action used in the action menu itself.
  5. position = door1_trigger; // Point in Memory lod in p3d around which the action is available.
  6. radius = 2; // Range around the above defined point in which you need to be to access the action.
  7. onlyForPlayer = false; // Defines if the action is available only to players or AI as well.
  8. condition = "this animationPhase ""aufzug_boden"" <0.5";
  9. statement = "this animate [""aufzug_boden"", 1]", "this animate [""aufzug_boden"", 1]";
  10. };
  11. class Closeaufzug_boden: Openaufzug_boden
  12. {
  13. displayName = "Aufzug runter EG";
  14. priority = 0.2;
  15. condition = "this animationPhase ""aufzug_boden"" >0.5";
  16. statement = "this animate [""aufzug_boden"", 0]", "this animate [""aufzug_boden"", 0]";
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement