Trying to Learn..

Magentix

if (OP.statement == false) postCount++;
Reaction score
107
JASS:

    call DisplayTimedTextToForce( udg_All_Players, 10.00, " " )
    call DisplayTimedTextToForce( udg_All_Players, 10.00, ( "|cff32cd32" + ( GetPlayerName(owner) + "'s Hero has been killed!|r" ) ) )
    call DisplayTimedTextToForce( udg_All_Players, 10.00, ( "|cff32cd32" + ( GetPlayerName(owner) + ( "'s Hero will respawn in " + ( I2S( time) + " seconds!|r" ) ) ) ) )


Can be done in one call using "\n" as a return if I recall correctly.
(Could well be "|n", but I think it was "\n")
 

Waaaaagh

I lost all my rep and my title being a jerk
Reaction score
70
Both work, although \n is the proper escape sequence...
 

substance

New Member
Reaction score
34
Ok, thanks. :)

This is what my trigger looks like now, anything else I can improve?

How do I destroy a timer?
'call DestroyTimer(udg_Respawn_Timer)' ?
What about DestroyTrigger?
Should all triggers have a DestroyTrigger function or what? -I thought it did that automatically. :p

Did you even read my post? All your conditions can be simplified to one line. My syntax may have been flawed (i didnt even check for typos) but the method works.
 
General chit-chat
Help Users

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top