• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Generating text

Status
Not open for further replies.
Level 30
Joined
Sep 30, 2008
Messages
1,459
Im sure most map makers have used the "Game Message" triggers to display some instructions. However, by default these messages are always removed after a specified time.

Is there a way to make them last until a player triggers another event? For example:

I want to display some hero-picker instructions, but i want them to dissapear as soon as the hero is selected :S Ive got no idea how, help!
 
Level 16
Joined
Feb 22, 2006
Messages
960
you need it in jass....gui sucks the thing you posted is just what I wrote , because the Video - Clear screen is equal to
JASS:
function ClearTextMessagesBJ takes force toForce returns nothing
    if (IsPlayerInForce(GetLocalPlayer(), toForce)) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call ClearTextMessages()
    endif
endfunction
 
Status
Not open for further replies.
Top