Re: Designer Tips and Tricks
The player hit box for trigger detection doesn't touch the ground. As such you could make a 16-high hit box trigger on the ground and the only way to activate it is through crouching. Thus you can make mechanism and/or scripts that only work if the play crouches.
Springboard:
1. Place a button.
2. Add "Move Character"
3. Set "yspeed" to -y. Absolute/Relative only matters some
4. Add "Turn On Trigger"
5. Set "tag" to "this"
6. Jump on button. You can hold the Up arrow key to go higher
Note: Can be combined with the above to make a hidden spring trigger that only works if you crouch.
Note: Adding X momentum doesn't work on a crouch trigger but can on a button and a hit box trigger provided you don't touch the ground and/or move left/right
Button:
Platform:
Crouch Activated Hitbox:
Springboard:
1. Place a button.
2. Add "Move Character"
3. Set "yspeed" to -y. Absolute/Relative only matters some
4. Add "Turn On Trigger"
5. Set "tag" to "this"
6. Jump on button. You can hold the Up arrow key to go higher
Note: Can be combined with the above to make a hidden spring trigger that only works if you crouch.
Note: Adding X momentum doesn't work on a crouch trigger but can on a button and a hit box trigger provided you don't touch the ground and/or move left/right
Button:
- Code: Select all
llitem:5;208;1504;0;4;0;movechar,this,0,0,0,-13,0,0:sleep,30:turnon,this
Platform:
- Code: Select all
llitem:7;264;1488;;1;2;all;0;0;5;300;0;100;0;90;30;0;3;3;5;5;5;5;30;30;128;128;0;0;0;0;3;10;10;30;0;1;1;-;0;2;16;5;0;90;1000;0;90;1;1;movechar,this,0,0,0,-13,0,0:sleep,30:turnon,this;1
Crouch Activated Hitbox:
- Code: Select all
llitem:6;120;1488;64;16;0;1;movechar,this,0,0,0,-13,0,0:sleep,30:turnon,this


