Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- span class="re5"> class BP_BearTrap : BP_Object
- {
- scope = 2;
- model = "\breakingpoint\models\bp_beartrap.p3d";
- displayName = "Bear Trap";
- class EventHandlers {
- init = "[_this] call BP_fnc_trapInit;";
- };
- class AnimationSources
- {
- class LeftShutter
- {
- source = "user";
- animPeriod = 0.1;
- initPhase = 0;
- };
- class RightShutter
- {
- source = "user";
- animPeriod = 0.1;
- initPhase = 0;
- };
- };
- class UserActions
- {
- class OpenTrap
- {
- position = "";
- displayName = "Open Trap";
- radius = 1.5;
- onlyForPlayer = 0;
- condition = "this animationPhase 'LeftShutter' == 1";
- statement = "[this,player] call BP_fnc_trapActivate;";
- };
- class CloseTrap
- {
- position = "";
- displayName = "Close Trap";
- radius = 1.5;
- onlyForPlayer = 0;
- condition = "this animationPhase 'LeftShutter' == 0";
- statement = "[this,player] call BP_fnc_trapDeactivate;";
- };
- class CollectTrap
- {
- position = "";
- displayName = "Collect Trap";
- radius = 1.5;
- onlyForPlayer = 0;
- condition = "this animationPhase 'LeftShutter' == 1";
- statement = "[this,player] call BP_fnc_trapCollect;";
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement