here is a script but i dont know whats wrong. I want people to turn into the airplane but the plane doesnt attach why?
Code: Select all
plane:
local.plane = spawn script_model
local.plane model "vehicles/stuka_fly.tik"
local.plane.origin = ( 482.53 2568.24 340.42 )
local.plane.angles = ( 0 180 0)
local.plane.scale = .2
local.trig = spawn trigger_use
local.trig targetname plane
local.trig.origin = ( 482.53 2568.24 340.42 ) // starting point
local.trig setsize ( -20 -20 0 ) ( 20 20 80 )
$plane waittill trigger
local.player = parm.other
local.player tele ( -1038.16 2312.67 1000.13 ) // destination
local.plane.origin = local.player.orgin + ( 0 0 128 )
local.plane glue local.player
local.plane bind local.player
local.plane remove
$plane remove
wait 5
thread plane
end