• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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