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

Texts

Status
Not open for further replies.
Level 28
Joined
Jan 26, 2007
Messages
4,789
Step 1: Create action, choose "Custom script" (it's all the way at the top as the 3rd action).
Step 2: Write text.
You have now a created a custom script with text in.

If that's not it, then you need to tell us exactly what you want. We can guess all day, but none of it may be what you want :).

Maybe you want to show text on the screen with a custom script?
Maybe you want to know how to do stuff with custom scripts (learn JASS)?
Maybe you just wanted to know how to use them (if someone gives you the script)?
 
Level 28
Joined
Jan 26, 2007
Messages
4,789
Even if you say that, there are still multiple possibilities.
Please try to actually explain your problem next time.

Message to all players:
  • Custom script: call BJDebugMsg( "Text" )
Message to specific player (coordinates can be changed):
  • Custom script: call DisplayTextToPlayer( Player(0), 0., 0., "Text" )
Message to specific force (player group) (coordinates can be changed):
  • Custom script: call DisplayTextToForce( bj_FORCE_ALL_PLAYERS, 0., 0., "Text" )
Timed message to specific player (coordinates can be changed):
  • Custom script: call DisplayTimedTextToPlayer( Player(0), 0., 0., 10., "Text" )
Timed message to specific force (player group) (coordinates can be changed):
  • Custom script: call DisplayTimedTextToForce( bj_FORCE_ALL_PLAYERS, 0., 0., 10., "Text" )
Timed message to all players (from-player can be adjusted) (coordinates can be changed):
  • Custom script: call DisplayTimedTextFromPlayer( Player(0), 0., 0., 10., "Text" )
(Replaces the first "%s" in the text with the player name)
 
Status
Not open for further replies.
Top