Code: Select all
truck_enter:
$faketruck_collision notsolid
$player glue $faketruck_playerspot_8 0 //btw, what does this 0 mean?
local.player = parm.other
local.player forcelegsstate CROUCH_IDLE
$player physics_off
$flucktlkw_trigger nottriggerable
$faketruck_model playsound m4l3_truck1
$faketruck_model followpath $faketruck_entrypath
$faketruck_model waitmove
$faketruck_model loopsound m4l2_truckidle
$faketruck_collision solid
$player physics_on
$player unglue
$faketruck_model stoploopsound
wait 3
$faketruck_model playsound m4l3_truck1
$faketruck_model followpath $truck_wayback
$faketruck_model waitmove
$faketruck_model loopsound m4l2_truckidle
wait .5
$faketruck_model stoploopsound
$flucktlkw_trigger triggerable
endOf course, I will have to glue additional players who enter the truck as well, to additional script_origins (there are faketruck_playerspot_1/8), but first of all, the players who do NOT enter the truck must not be dragged into the truck and be glued! How can I achieve this?


