read jv's post he is right it should be
$brush move or waitmove
scripting: Moving object
Moderator: Moderators
Arghhh!!
Please people if someone goes to the trouble of replying then at least give them the credit of READING them... carefully!!
Sorry BD, this is not aimed at you, I'm just venting my frustration.
Thats what I said 15 posts before... !!!read jv's post he is right it should be
$brush move or waitmove
Please people if someone goes to the trouble of replying then at least give them the credit of READING them... carefully!!
Sorry BD, this is not aimed at you, I'm just venting my frustration.
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
Ok,so then it goes like this,i tested it,and it works,i got the trigger to bind to the goal,and the light also binded.
here ya go.
Enjoy 
here ya go.
Code: Select all
// Bored
// ARCHITECTURE: Cheetohs
// SCRIPTING: Cheetohs
main:
// set scoreboard messages
setcvar "g_obj_alliedtext1" "Made By:"
setcvar "g_obj_alliedtext2" "Cheetohs"
setcvar "g_obj_alliedtext3" ""
setcvar "g_obj_axistext1" ""
setcvar "g_obj_axistext2" "Or was"
setcvar "g_obj_axistext3" "It?"
setcvar "g_scoreboardpic" "none"
level waitTill prespawn
thread goallight_on
thread brushloop
//*** Precache Dm Stuff
exec global/DMprecache.scr
level.script = maps/dm/bored.scr
level waittill spawn
$brush bind $light
$light bind $goallight1
$goaltrig bind $brush
end
//goallight-----------------------------------------------------------------------
goallight_on:
$goaltrig waittill trigger
$light light 1 0 0 706
wait 3
$light light 0 0 0 706
goto goallight_on
//brushloop1-----------------------------------------------------------------------
brushloop:
$brush movesouth 200
$brush waitmove
wait 3
$brush movenorth 200
$brush waitmove
wait 3
$brush movenorth 200
$brush waitmove
wait 3
$brush movesouth 200
$brush waitmove
wait 3
goto brushloop
end 
