Is there a way to get the Player Name from scripting?

A forum for discussing map making ideas and problems for the Myth series.
Post Reply
User avatar
Baak
Posts: 1109
Joined: Sat Mar 20, 2004 6:26 pm
Location: Mything

Is there a way to get the Player Name from scripting?

Post by Baak »

I can get to Team 0, Team 1, etc., from within a map script but I'd *really* like to be able to get the Player/Team name as well.

Is this possible? If so, how is it done?

I have been unable to track it down...



Thanks in advance! :)
Myrd
Site Admin
Posts: 4031
Joined: Fri Mar 19, 2004 10:17 pm

Post by Myrd »

If it were possible, some mapmakers would put script like the following on their maps:

TUNI(player_name_is, MyName)
ON SUCCESS: GIVE MY UNITS 2X HEALTH
Death's Avatar
Site Admin
Posts: 1023
Joined: Mon May 24, 2004 8:59 pm

Post by Death's Avatar »

sweet.
User avatar
Baak
Posts: 1109
Joined: Sat Mar 20, 2004 6:26 pm
Location: Mything

Post by Baak »

Myrd wrote:If it were possible, some mapmakers would put script like the following on their maps:

TUNI(player_name_is, MyName)
ON SUCCESS: GIVE MY UNITS 2X HEALTH
Heh - figured there was a good reason not to have it, but very pleased to know not to search further.

Thanks. :)
Post Reply