Get player name trigger!

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

t_newel
Junior Member
Posts: 27
Joined: March 13th, 2010, 4:00 am

Get player name trigger!

Post by t_newel »

Ive been looking around and in jass theres a specific command line (spoiler)
Spoiler:
function Blank_blank_Conditions takes nothing returns boolean
return(GetPlayerName(GetTriggerPlayer())=="BLANKY")
endfunction
function Trig_BLANK_BLANK_Actions takes nothing returns nothing
call CreateItemLoc('BLANK',GetRectCenter(gg_rct_Region_BLANK))
Ive been wonderin what trigger this was before converted into jass or is it jass only command
the trigger allows some one to type in a command and spawn an item for them the word blank respectivley er takes out parts of real named stuff that could hurt anyone
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm

Re: Get player name trigger!

Post by owner123 »

If player name of triggering unit = "BLANKY" then
Player name should be under the "String" condition list.
User avatar
haxorico
Super Moderator
Posts: 3195
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Been thanked: 1 time

Re: Get player name trigger!

Post by haxorico »

"BLANKY" is the name. If your name is BLANKY it will spawn the item 'BLANK'. 'BLANK' is a raw code, just as 'h000' is a raw-code.
In worled editor, you can set the items or w/e to custom raw-codes. So he just changed the item raw-code into BLANK...
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac: 

Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).

Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?