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.
Sorry its so small.
so far nothing happens.. what so ever.
ask if you need more detail.
Gui spell help.
Moderator: Cheaters
-
- Forum Staff
- Posts: 506
- Joined: November 17th, 2008, 3:49 pm
Re: Gui spell help.
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.
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.
Spoiler:
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.
-
- Member
- Posts: 57
- Joined: June 9th, 2010, 10:12 pm
Re: Gui spell help.
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.
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.
My triforce spins