• 0

    posted a message on Making a trigger run when a button is pressed...

    i have about the same problem.

    I created a new button and my hero have that button now. The ability doesn't exist but i created a trigger that will give player mineral for their energy used. however i can't input the button correctly cause i really need to have an ability command ?

    is there a way to bypass this or a thrick i could use so the button appear and do nothing, except the in the trigger with event button pressed.

    Posted in: Triggers
  • 0

    posted a message on [Trigger, Beginner] Variables, Arrays, Constants, "If" statements and Functions.

    I goes through everything and have the same problem then Meperdine, When i try the map it says game map initialization error, event unit have no matching unit.

    I think i did everything good. I've looked everything 2 times and found nothing i did wrong. And in the case you wonder if i saved before trying, i did it.

    i found an error that does not match what you saying:

    In the function frame double click on value 1 a window will appear. click on variables on the top and select your local variable. click ok. when you click ok the == should be 1.

    what stay of the process is ( Owner of ( Triggering unit ) ) == Player number

    and not: ( Owner of ( Triggering unit ) ) 1 Player number. Like i think you are saying

    Posted in: Tutorials
  • To post a comment, please or register a new account.