Help With Triggers.
Moderator: Cheaters
-
- Senior Member
- Posts: 146
- Joined: June 5th, 2007, 12:51 am
- Location: California
Help With Triggers.
Does anyone know how to make trigger for health point? Like when you type -hp 10000, it sets your hero to hp 10000.
Life is like a game of cards. The hand that is dealt you represents determinism; the way you play it is free will.
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
hp
Events
Player - Player 1 (Red) types a chat message containing -hp as A substring
Conditions
Actions
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to (Real((Substring((Entered chat string), 4, 20))))
Events
Player - Player 1 (Red) types a chat message containing -hp as A substring
Conditions
Actions
Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
Loop - Actions
Unit - Set life of (Picked unit) to (Real((Substring((Entered chat string), 4, 20))))
Last edited by namespoofer on June 10th, 2007, 4:27 am, edited 1 time in total.
Doesn't Dekar make the world easier?
"I Wumbo. YOU Wumbo. He she me.. WUMbo. Wumbo; WumboING; WumBOLogy; the study of WUMBO. It's first grade, Spongebob!"
"I'm sorry I doubted your great wisdom Patrick!"
Catch me on Azeroth (U.S. East) - NameSpoofer
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA
-
- V.I.P.
- Posts: 332
- Joined: March 4th, 2007, 12:39 am
- Location: United States
-
- Senior Member
- Posts: 146
- Joined: June 5th, 2007, 12:51 am
- Location: California
-
- S.M.B. Creator
- Posts: 84
- Joined: January 20th, 2007, 11:32 am
- Location: Germany
-
- Honorary wc3edit.net Traitor
- Posts: 2507
- Joined: February 1st, 2007, 4:11 pm
- Location: NEVADA