Question Again..

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
Okay well I need a trigger where when a certain person joins a game (as in me or one of my friends) the game can notice it and give us a certain hero. It's for my clan and the shamans and i all get a special hero. Instead of making it so we type a password where people can use our heros if they hack into our map, why cant i just make it so it sees our acct names and puts our special hero into the altar. my acct name is HellThrone and the heros name is xXHellThroneXx. If you could give me the trigger id give credits in brief
 

Speaker

Premium Member
Joined
Jun 20, 2003
Messages
2,808
Reaction score
2
Location
Computer
not aure if that is possible with out game caches and saving aprevious game...

maybe give every1 in ur clan a code they type in to load your own unique hero..
 

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
but people can use eachothers codes and i dont like that.. all they gatta do is open the map and viola, they're using my hero.
 

SoNiC_tHe_IgEl

Member!
Joined
Aug 6, 2003
Messages
503
Reaction score
0
Location
Germany
Website
www.kotzwuerg.de.vu
1. code = use a mapprotector than they cant open it easy

2. make it with a if thing... if player name something like that ... just look arround

BE CAREFUL: in custom game u can use namespoofer .. than its easy ;)

a code would be the easiest thing ...
 

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
alright, ill just go with a code and good point about the name spoofer. it really changed my veiw. thanks.
 

SlayMaximus

Member!
Joined
Dec 29, 2003
Messages
64
Reaction score
0
Location
Virginia
Website
www.riplo.com
I had a similar question where I wanted to prevent rehosting of a map. The answer I got was using the account name (which is password protected) to force the game to terminate if player 1 was not me. Of course, if anyone can edit the map, they can change the triggers, but at least that requires them to host the new version. A code would be available to anyone that knows it, even in your map.

If I understand your question, I think the triggers should be something like:

Untitled Trigger 001
Events
Time - Elapsed game time is 2.00 seconds
Conditions
Actions
If ((Name of Player 1 (Red)) Equal to HellThrone) then do (Unit - Create 1 Footman [or whatever] for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees) else do (Do nothing)

Hope that helps.
 

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
but wouldnt a name spoofer mess that up

oh and whats the triggers path to get to the if - comparison for the player name, im having trouble finding it
 

Dethstalker

Member!
Joined
Apr 11, 2004
Messages
109
Reaction score
0
Location
Clearwater, Florida
Website
www.game-grounds.com
a namespoofer only lets you use names up to 5 charactures long...no more...and u can change ur colour of ur name if u login as a name under 5 letters such as...if ur name to login is really Deth then u could use |CFFFF0303Deth as ur login name and it would work and make ur name red....but if the names u use are longer than 5 letters a namespoofer cant screw it up
 

HellThrone

Member!
Joined
Oct 17, 2003
Messages
295
Reaction score
0
Location
Hell
oh and whats the triggers path to get to the if - comparison for the player name, im having trouble finding it

where do i find that then?
 

SlayMaximus

Member!
Joined
Dec 29, 2003
Messages
64
Reaction score
0
Location
Virginia
Website
www.riplo.com
Look for "string comparison" then "Player - Player name."

You may wany to make that a conditon and avoid the IF comparison - either should work.

I don't know anything about name spoofers, however.
 

New threads

Top