Page 3 of 3

Posted: Sun Jan 02, 2005 10:03 pm
by bdbodger
read jv's post he is right it should be

$brush move or waitmove

Posted: Mon Jan 03, 2005 6:26 am
by Grassy
Arghhh!! :twisted:
read jv's post he is right it should be
$brush move or waitmove
Thats what I said 15 posts before... !!!
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.

Posted: Mon Jan 03, 2005 5:32 pm
by Green Beret
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.

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 
Enjoy :wink: