Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Openaufzug_boden
- {
- 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.
- displayName = "Aufzug hoch 1 OG"; // Label of the action used in the action menu itself.
- position = door1_trigger; // Point in Memory lod in p3d around which the action is available.
- radius = 2; // Range around the above defined point in which you need to be to access the action.
- onlyForPlayer = false; // Defines if the action is available only to players or AI as well.
- condition = "this animationPhase ""aufzug_boden"" <0.5";
- statement = "this animate [""aufzug_boden"", 1]", "this animate [""aufzug_boden"", 1]";
- };
- class Closeaufzug_boden: Openaufzug_boden
- {
- displayName = "Aufzug runter EG";
- priority = 0.2;
- condition = "this animationPhase ""aufzug_boden"" >0.5";
- statement = "this animate [""aufzug_boden"", 0]", "this animate [""aufzug_boden"", 0]";
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement