script mover


(Zipp3R|PL) #1
game_manager
{
spawn 
     {
   remapshaderflush
  
    // Game rules
   wm_axis_respawntime 15
   wm_allied_respawntime 10
   wm_set_round_timelimit 10
  wm_number_of_objectives 1
  wm_set_main_objective  1 0
    wm_set_main_objective  1 1
    //Accum values
    accum 0 set 0 //axis
    accum 1 set 0 //allies
    // Stopwatch mode defending team (0=Axis, 1=Allies)
    wm_set_defending_team 1
    // If the round timer expires, no one has won
    // Set the round winner:  0 == AXIS, 1 == ALLIED
    wm_setwinner -1
    wait 2000
  
}
trigger allies_win
{ 
    wm_announce "Allies win!"
  
    wait 1500
    wm_setwinner 1
    trigger game_manager checkgame
}
trigger checkgame
{ 
    wm_announce "end"
    wm_endround
} 
}

skocznia2
{ 
death
{ 
    trigger game_manager allies_win
}
}

and i want to add my script mover must i add it under it? ?
am not good at scripting


(Dr.Diode) #2

please tell me more about your script mover…what it makes… :???:


(grizzlybear) #3

place it anywhere after the game_manager section

skocznia2
{ <<<<<<<<<<<<<<<<<opening bracket
death
{
trigger game_manager allies_win
}
} <<<<<<<<<<<<<<<<<<closing bracket

this section is basicaly its own script
so just add more bits the same way

yes under it :wink:


(Zipp3R|PL) #4

script mover must have a model… aaaa i dont like scripts it destroyes all fun…


(grizzlybear) #5

u have an origin brush as a script_mover not attached to any other brushes

you need at least 1 other brush or u get this error :wink: