• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Set Day Night Model

Status
Not open for further replies.
Level 16
Joined
Aug 20, 2009
Messages
1,554
  • Shadow
    • Events
      • Player - Player 1 (Red) types a chat message containing -s as An exact match
    • Conditions
    • Actions
      • Custom script: call SetDayNightModels("","")
      • Trigger - Turn off (This trigger)
      • Trigger - Turn off Shadow 2 <gen>
  • Shadow 2
    • Events
      • Player - Player 1 (Red) types a chat message containing -s2 as An exact match
    • Conditions
    • Actions
      • Custom script: call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl" , "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
      • Trigger - Turn off (This trigger)
      • Trigger - Turn off Shadow <gen>
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
Works just fine for me.
  • Untitled Trigger 066
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Execution count of (This trigger)) mod 2) Equal to 0
        • Then - Actions
          • Game - Display to Player Group - Player 1 (Red) the text: reset
          • Custom script: call SetDayNightModels("Environment\\DNC\\DNCLordaeron\\DNCLordaeronTerrain\\DNCLordaeronTerrain.mdl" , "Environment\\DNC\\DNCLordaeron\\DNCLordaeronUnit\\DNCLordaeronUnit.mdl")
        • Else - Actions
          • Game - Display to Player Group - Player 1 (Red) the text: empty
          • Custom script: call SetDayNightModels("","")
Make sure your trigger is actually running, and is not turned off for example.
 
Status
Not open for further replies.
Top