I cannot seem to find a function that will set the player's name to something different than it already is.
Well thats not entirely true. You see something bothering me. It may bother you too.
When you go to the tiggers and search: "set player name" it pulls up: "modify player property".
Now thats fine and all but if you take out the "player" and just say: "set name", something funny comes up: "modify player property"
Now by my reasoning (which may be flawed) there is no way, based on the presets inside the action, the search "set name" would ever pull up "modify player property".
To make it even more screwy. I searched just "name" and it still came up with "modify player properity".
Conclusion:
Something tells me, given the lack of presets for setting a player name, that there is a custom script that might allow us to change a player's visible name ingame.
Would anyone have an idea of what that script is or what it could be?
It's coming with that because it is related to Player as in the action to change a players name would be...
And there is no blizzard trigger for changing a name in actions, you gotta do variables, conditions, all that crap... Or you can make your own trigger with a trigger library mod, but thats like inpossible, because such a action element would be long, I believe you can do this,
Create a small, non seeable unit in the map (for w/e player) Try an invisible pylon
Try to find a way to create such a trigger that does: When player 1 chats, use chat coming from Invisible Pylon [260,15.5]
This may be hard to find, so use conditions and variables...
Set the event
If this doesn't work with conditions/variables, find a tutorial on how to use variables/conditions and or create a new action element
In my experience it's impossible to change the Player's name. If you want to have custom names, then don't use the Player Property; store the new names in variables associated with each player and then use those. I would recommend setting up a Record called recPlayer and inside there have all your player properties, such as txtCustomName. Then instantiate an array of those records, 1 element for each player.
Why do you need to change the players name. This has no impact on game play what so ever.
If you really need to its easy to use a string variable PlayerName[0-15] have players make their own name.... and then use this value in your text out puts and leader boards and such.... going further then that though is rather impossible at the moment or just too much work to be worth it.
Rollback Post to RevisionRollBack
Skype
KageNinpo = SN
My Libraries
DialogLeaderboard & TeamSort
My Projects
SPACEWAR Tribute
Infinite TD
I need to change it because I have 7 players and 7 computer AI's that only say "player 8", "player 9" and so on.
The 7 players are fine. Its the 7 AI's that probably will lead to confusion that I'm worried about. You could do it in WC3 so I'm thinking that there might be a way to do it here as well.
I suppose the only way I'm gonna find out for sure is to dig in the trigger libraries for the custom script.
Hey all,
The funky part:
I cannot seem to find a function that will set the player's name to something different than it already is.
Well thats not entirely true. You see something bothering me. It may bother you too.
When you go to the tiggers and search: "set player name" it pulls up: "modify player property".
Now thats fine and all but if you take out the "player" and just say: "set name", something funny comes up: "modify player property"
Now by my reasoning (which may be flawed) there is no way, based on the presets inside the action, the search "set name" would ever pull up "modify player property".
To make it even more screwy. I searched just "name" and it still came up with "modify player properity".
Conclusion:
Something tells me, given the lack of presets for setting a player name, that there is a custom script that might allow us to change a player's visible name ingame.
Would anyone have an idea of what that script is or what it could be?
Thanks!
It's coming with that because it is related to Player as in the action to change a players name would be... And there is no blizzard trigger for changing a name in actions, you gotta do variables, conditions, all that crap... Or you can make your own trigger with a trigger library mod, but thats like inpossible, because such a action element would be long, I believe you can do this,
@FockeWulf: Go
In my experience it's impossible to change the Player's name. If you want to have custom names, then don't use the Player Property; store the new names in variables associated with each player and then use those. I would recommend setting up a Record called recPlayer and inside there have all your player properties, such as txtCustomName. Then instantiate an array of those records, 1 element for each player.
@FockeWulf: Go
Why do you need to change the players name. This has no impact on game play what so ever.
If you really need to its easy to use a string variable PlayerName[0-15] have players make their own name.... and then use this value in your text out puts and leader boards and such.... going further then that though is rather impossible at the moment or just too much work to be worth it.
I need to change it because I have 7 players and 7 computer AI's that only say "player 8", "player 9" and so on.
The 7 players are fine. Its the 7 AI's that probably will lead to confusion that I'm worried about. You could do it in WC3 so I'm thinking that there might be a way to do it here as well.
I suppose the only way I'm gonna find out for sure is to dig in the trigger libraries for the custom script.
@FockeWulf: Go
If it's AI players, go into Map > Player Properties... and change the names there.
@jcraigk: Go
Ok Thanks a Bunch :)
I completly forgot bout that!