Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name Gyro E2
- @inputs Ship:wirelink Moving
- @outputs
- @persist
- @trigger
- runOnTick(1)
- interval(50)
- ShipEnt = Ship:entity()
- if(first()) {
- runOnKeys(owner(),1)
- Moving = 0
- }
- elseif(owner():keyForward()) {
- ShipEnt:applyForce((ShipEnt:forward())*(ShipEnt:mass()*2))
- if(!Moving) {
- Moving = 1
- holoEntity(0):soundPlay(1,3,"vehicles/airboat/fan_motor_idle_loop1.wav")
- timer("snd_reset",3000)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement