Gui spell help.

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Super-xero
Member
Posts: 57
Joined: June 9th, 2010, 10:12 pm

Gui spell help.

Post by Super-xero »

So, im trying to make it where when a hero has a item a effect happens randomly as it attacks, so far i have failed.

Here is the trigger itself.
Image
Sorry its so small.


so far nothing happens.. what so ever.
ask if you need more detail.
Image Image My triforce spins
User avatar
Syre
Forum Staff
Posts: 506
Joined: November 17th, 2008, 3:49 pm

Re: Gui spell help.

Post by Syre »

Alright, i just made an simple trigger that does basically the exact thing yours does, just without the random chance. Honestly, the only thing that i changed from my trigger to yours, is that i dont have 2 conditions that are of the same thing..here is my trigger.
Spoiler:
Image
Ignoring the unit is attacked (this is just so i don't have to make another trigger for a random chance), you can see that its basically exactly the same (well, without a full floating text part). The only thing i did different, was that i made another trigger that when a unit picks up the item, he was put into a unit group, and my condition checks if the unit is in the group or not.

So, your problem is probably something wrong with either the condition, or more likely the trigger that calls that one. Since im using a event that happens every time, there is no need to make a separate trigger to call it, however your trigger doesn't have a event, meaning that it has to be called in a separate trigger. If something is wrong with the trigger that is supposed to call it, it wont work.

If its not a problem with the condition, or the other trigger, then i honestly dont have a clue whats wrong, unless your simply very, very unlucky and not getting the random chance at all..but thats unlikely.
Image
User avatar
Super-xero
Member
Posts: 57
Joined: June 9th, 2010, 10:12 pm

Re: Gui spell help.

Post by Super-xero »

The 2 conditions was not suppose to be in there XD
I know how to do the random in the trigger its self, i just removed it so that it always happen so i can test it
And Thank you for the help.
Image Image My triforce spins