Help with triggers

For fulfilled maps that most likely don't work on the latest patch (1.24 or later).

Moderator: Cheaters

User avatar
Joshsta818
Member
Posts: 86
Joined: April 7th, 2007, 2:39 am

Help with triggers

Post by Joshsta818 »

latley ive been playing around with gui triggers for fun..but ive come accross a couple of funn triggers that i cant get to work, or arent working properly..if some body could help me figure out why or what i did wrong id be great. heres some of my triggers than dun work..

Code: Select all

Event: player 1(red) types a chat message containing -lightning as a substring.
Condition:
Action: create lightning effect mana burn center of(current camera bounds))rally-point of triggering unit) as a point.
What i want it to do is, create a manaburn image coming from the middle of the map all the way to the currently selected unit.

NEXT

Code: Select all

Event:Player - Player 1 (Red) types a chat message containing -carrionbeetles as A substring

Condition:
Action:Compatibility - Create the illusion of Carrion Beetles with that spell's Caster Art model attached to (Picked unit) on it's overhead
what i want is for the "image" of carrionr bettles flying above the picked unit

NEXT

Code: Select all

Event:Player - Player 1 (Red) types a chat message containing -invul as A substring
Condition:
Action:Unit - Make (Picked unit) Invulnerable
eh, what i want for that is kinda obvious, the trigger seems to simple..but theres not really any more u can do with it except for making conditions..which ive Never done.
thanks for takin ure time to try to awnser my nubby questions!
Image
WhiteSkidMaul Wars
~Now Gone Superspeed!~
illiro
Newcomer
Posts: 1
Joined: May 19th, 2007, 5:31 am

Post by illiro »

for the invul one its not working because the trigger isnt picking any unit. you need to specify a unit.
Kala-cha
Forum Addict
Posts: 405
Joined: February 17th, 2007, 9:16 pm

Post by Kala-cha »

Hm... invulnerability there should work, pick unit=unit in game that's currently picked, genius :P.
Don't know about the other ones though, I don't do special effects >.<. Carrion Swarm is NOT in compatibility. It's in special effects.
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

compatibility is not useable, its there for compatibility reasons only, cant you read? sais that on the trigger in weu.
User avatar
Joshsta818
Member
Posts: 86
Joined: April 7th, 2007, 2:39 am

Post by Joshsta818 »

so does that mean carrionrbeetles wont work? or were u talkin to kala lol :\

Edit: my bad i just read that it was a compatibility lols :<retarded

What about this trigger, i spent like 30 mins of copy and pasting to make it work with all players and all colors -_- and it wont work

Code: Select all

Event:Player - Player 1 (Red) types a chat message containing -color green as A substring
Condition:
Action:Unit - Change color of (Picked unit) to Green
Image
WhiteSkidMaul Wars
~Now Gone Superspeed!~
User avatar
Thunder_Dragon-
Newcomer
Posts: 9
Joined: January 22nd, 2007, 7:57 pm
Location: denmark

Post by Thunder_Dragon- »

first of all.. why are u using substring? use this 1

Code: Select all

green color
    Events
        Player - Player 1 (Red) types a chat message containing -green as An exact match
    Conditions
    Actions
        Unit - Change color of (Random unit from (Units currently selected by (Triggering player))) to Green
use a veriable if u need a specific unit each time
or more advanced with substrings!

Code: Select all

green color
    Events
        Player - Player 1 (Red) types a chat message containing -color as A substring
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Substring((Entered chat string), 8, (Length of (Entered chat string)))) Equal to green
            Then - Actions
                Unit - Change color of (Random unit from (Units currently selected by (Triggering player))) to Green
            Else - Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                (Substring((Entered chat string), 8, (Length of (Entered chat string)))) Equal to blue
            Then - Actions
                Unit - Change color of (Random unit from (Units currently selected by (Triggering player))) to Blue
            Else - Actions
took me less than 5 min to make this.. cant believe u spent 30 min :S
Image
White - Hacker VS. Black - Protection!
(\__/)
(='.'=) This is Bunny. Copy bunny into your
(")_(") signature to help him gain world domination.
User avatar
Joshsta818
Member
Posts: 86
Joined: April 7th, 2007, 2:39 am

Post by Joshsta818 »

thanks alot @ Thunder_Dragon , the colors work now, and i even used that random thing for invul/vul and it works to now :) Ty now i have all the basic nubby cheats working xD:)
Image
WhiteSkidMaul Wars
~Now Gone Superspeed!~
namespoofer
V.I.P.
Posts: 332
Joined: March 4th, 2007, 12:39 am
Location: United States

Post by namespoofer »

If your gunna use picked unit.. you have to pick the units with unit group..

Code: Select all

lightning
    Events
        Player - Player 1 (Red) types a chat message containing -lightning as An exact match
    Conditions
    Actions
        Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
            Loop - Actions
                Special Effect - Create a lightning effect Mana Burn (Center of (Playable map area)) (Position of (Picked unit))

Code: Select all

green
    Events
        Player - Player 1 (Red) types a chat message containing -green as An exact match
    Conditions
    Actions
        Unit Group - Pick every unit in (Units currently selected by (Triggering player)) and do (Actions)
            Loop - Actions
                Unit - Change color of (Picked unit) to Green
>.>
Image
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
User avatar
Joshsta818
Member
Posts: 86
Joined: April 7th, 2007, 2:39 am

Post by Joshsta818 »

lol thanks but this is wai old!
Image
WhiteSkidMaul Wars
~Now Gone Superspeed!~
namespoofer
V.I.P.
Posts: 332
Joined: March 4th, 2007, 12:39 am
Location: United States

Post by namespoofer »

Heh.. I figured.. But it's the thought that counts? Yes? :D

I didn't notice tho, cuz it was on the first page in GUI :?
Image
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