• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

[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,202
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