• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Hello guys and ladies! I am the hamsterpellet!

Status
Not open for further replies.
Level 5
Joined
Dec 12, 2011
Messages
116
Hello, I am happy to join the Hive community.
It is very nice.

JASS:
function HelloHive takes player p, string s returns nothing
	DisplayTextToForce( GetPlayersAll(), ( "My name is " + GetPlayerName(p) + ". " + s ) )
endfunction

And then

JASS:
call HelloHive(p,"Hello guys and ladies!!")

hamsterpellet
 
JASS:
function HelloHive takes player p, string s returns nothing
    call DisplayTimedTextToPlayer(GetLocalPlayer(), 0, 0, 60, "My name is" + GetPlayerName(p) + ". " + s)
endfunction

BJs (those things in red) are really bad ;p
You should only use the ones in purple.
The only BJ I'd recommend using:
TriggerRegisterAnyUnitEventBJ

On a related note, Welcome to the hive!
Enjoy your stay! :D
If you have any questions feel free to ask ;)
 
Status
Not open for further replies.
Top