• 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.

[Trigger] This CRASHES my warcraft

Status
Not open for further replies.
Level 20
Joined
Jul 14, 2011
Messages
3,213
  • Night effects Turn On
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
    • Conditions
    • Actions
      • Countdown Timer - Start NightCurseTimer as a Repeating timer that will expire in 1.00 seconds
      • Game - Set time of day speed to 200.00% of the default speed
I disabled the "Game - Set time of day..." and everything works well, so, that function is messing everything.

I just want the night to be faster than the day (Day = 100% / Night = 200%)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Test the action outside that event (from an event that runs from a chat message or unit ability). The crash with that action might be due to it creating some form of unacceptable feedback with how the thread is started.

If it does work outside this trigger then running it via a game time syncronized timer or some other event will probably work.

Also check gameplay constants and its various time related fields.
 
Status
Not open for further replies.
Top