is it possible to make a script_mover (a solid brush) with can lift and lower people just like a elevator?
and how is that done?
is it possible to make a script_mover (a solid brush) with can lift and lower people just like a elevator?
and how is that done?
Yes, just make an ordinary script mover - I made landing craft out of script movers.
ok ive made the script_mover
but i have 2 major problems
// This is the scriptname of your target_script_trigger entity
move_platform
{
// This is the target name of your target_script_trigger
trigger move_to_destination
{
// Calls move_dest trigger within platform function block
trigger platform move_dest
}
// Same as above
trigger move_to_start
{
trigger platform move_start
}
}
// Function block. This is the scriptname used on your script_mover brush
platform
{
// Called by your move_platform trigger move_to_destination
trigger move_dest
{
// move the script_mover defined by scriptname "platform" to path_corder
// with a targetname of "point_01" 32 is the speed of the movement
gotomarker point_01 32
// Wait 12 seconds (12000 milliseconds) before going to next statemnt.
// You have to do this to wait for your platofrm to reach point_01,
// otherwise your platform will move on to the next statement before
// its time
wait 12000
// Turn the platform to face the 90 degree point on the Y axis
// The 1500 means that it should take 1.5 seconds to complete the turn
faceangles 0 0 0 1500
// Move to point_02
gotomarker point_02 32
// Wait 6 seconds
wait 6000
// Turn the platform to face the 180 degree mark.
// Note, this doesn't mean to turn the platform 180
// degrees from its current position, it means face the world
// 180 degree angle
faceangles 0 0 0 1500
// Move to point_03
gotomarker point_03 32
}
trigger move_start
{
// Face angle 0. Problem: The platform currently always turns
// counter clock-wise this causes a problem because the platform
// collides with another brush.
// Not sure how to fix this, if you know, email me at [email]nib@nibsworld.com[/email]
faceangles 0 -0 0 1500
// Move back to the starting marker
gotomarker point_00 32
}
}
here is my script
see anything wrong?
and why wont it stay solid?
You didn’t bother to check the console for errors did you?
You might also want to add a:
spawn
{
wait 200
}
Section to your script mover
You didn’t bother to check the console for errors did you?
actually i did check for errors but i didnt find anything about the script_mover
but thanks that might help