• 🏆 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!

[JASS] Better random and name changing

Status
Not open for further replies.
Level 2
Joined
Nov 6, 2004
Messages
7
I dont mind the random function that much, but it seems to use the gametime as a seed(fancy programming word there :roll:) instead of realtime. Now Im not sure much about battle.net random, considering I have tried running one of my maps on battle.net yet, but does it do this on battle.net aswell, and if so, is there a way to use jass to fix it so its different everytime?

Now I know the name change thing was posted about already, but Ill post here too. I want to make a feature in my rpg-in-the-making's system that you can type '-name [name]' and have it change both your player(that one's easy) and hero name to whatever they put, and maybe add a little filter if I can do that :wink: But the main part Im having problems with is changing the hero name. Anyone know a way, or have any ideas of a way to do it?
 
Status
Not open for further replies.
Top