HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

User Input In Game

02-05-2003, 08:06 AM#1
Guest
Hello everyone :-)

I have one quick question if someone can give me an answer. I am currently working on a WC3 map and I was wondering if the <user> can enter in lets say, "Test".

Then it would take that String -> "Test" and set it to a heros name in the game.

I can't seem to find a way, but if there is.... can someone please let me know. I would love to add this into my map, but if I can't... oh well.

Thanks :-)
02-05-2003, 11:43 AM#2
Guest
Hi my name is 1st-strike,

I want to know if I can get the User to enter input in the game that would change the name of the hero to that input just entered.

1st-Strike:GOD

hero name would be "GOD"

and so on...

if anyone knows how please reply to this forum thank you :-)
02-05-2003, 12:10 PM#3
DaKaN
As far as I know that is not possable because you cant put a varible in for the name string of the hero.

--Merged--

And please do not create multile posts with the same question.
02-05-2003, 12:44 PM#4
StonedStoopid
What you need is a string parser, and it has been done here.
http://wc3campaigns.com/forums/showt...?threadid=7219
02-05-2003, 04:54 PM#5
Guest
Thanks StonedStoopid. That helps a lot