• 0

    posted a message on how to create a button to kill unit

    well, i you are a "newbie" you should watch some tutorials on how to do this if this is not basic enough for you. Go to forums, resources then tutorials and search for dialog or buttons.

    Posted in: Triggers
  • 0

    posted a message on how to create unit at a rally point ?

    or at the start of the game with triggers research the drop pod thing from barracks (name escapes me) and the rally point would work just as well except you get a drop pod :D

    Posted in: Triggers
  • 0

    posted a message on how to create a button to kill unit

    im still not quite sure how to do tht quote thing :D

    Posted in: Triggers
  • 0

    posted a message on how to create a button to kill unit

    ahhj so thats how u do it thanks.. yea ive done almost exact same thing could be slightly off just woke up ikjkj<<code EVENT : any dialog item is use>>

    <</code>>

    testing@@

    Posted in: Triggers
  • 0

    posted a message on how to create a button to kill unit

    um sorry about the red lines... not sure what they are, ignore them, and sorry about the bunching at the top , i hope you can read it :D its funny cos i did this almnost exact same thing. if does not work pm me!

    Posted in: Triggers
  • 0

    posted a message on how to create a button to kill unit

    hey, well first of all you need some variables. Let's start with thte menu button. You need a dialog variable called menu. then you need a dialog item lvariable called menu item. you will also need these for your next box. So make another dialog variable called showed box. also create 2 ialog items called close and Kill. Then create an event called Map initilization. The actions will be to create a modal dialog box (what ever size you want, looks like you want 100, 200) then set menu ==(last created dialog) - this is the variable you created earlier. Next you want to create a button for dialog menu wiant, offset is justth text menu and size 100,200 (no off set, set it what ever side you want, offset is just lower/wider from where you set the box eg left.) then set dialog item menu item == (last created dialog. Now you need to make it visible for you. Show Menu for (active Players) (you can do triggering player by going - player group- clcik on it triggering player.)

    • Now o this again except with 2 dialog items ( 1 called close 1 called kill.) and dont forget to HIDE, this is with the showed box when you click menu, so you dont want it visible.

    Now create another trigger. The event will be any dilog is clicked. Action will be an IF Then Else.

    It will be IF (used dialog item) == Menu

    • THEN - hide Menu for (triggering player) show Showed Box (triggering player)

    NExt, create another trigger for if close or kill is clicked. so again event = any dialog is clicked by player (blah) again another IF then else. ok this one will be slightly different,

    IF (used dialog item) == kill THEN - hide Showed Box then show menu. - - Kill unit (what ever this is marine or whatever - specify here)

    Then you want another IF then Else This one says IF (used dialog item) == Close hide dialog showe box show dialog menu.

    Hope This helped!!

    Posted in: Triggers
  • 0

    posted a message on am i doing this right?

    i cant find any kill bounty for civilian either, i can find it for marine not civilian

    Posted in: Triggers
  • 0

    posted a message on am i doing this right?

    ADd gas player 8 Events Local Variables Conditions player8killcount >= 10 Actions Player - Modify player 8 Vespene: Add 1 Variable - Set player8killcount = 0

    undead gets gas Events Unit - Any Unit dies Local Variables Conditions (Owner of (Triggering unit)) == 1 (Killing player) == 8 Actions Trigger - Run ADd gas player 8 (Check Conditions, Don't Wait until it finishes) Variable - Set player8killcount = player8killcount

    Give gas undead for leader kill Events Unit - Any Unit dies Local Variables Conditions (Owner of (Triggering unit)) == 1 (Killing player) == 8 Actions Trigger - Run ADd gas player 8 (Check Conditions, Don't Wait until it finishes) Variable - Set player8killcount = player8killcount

    Posted in: Triggers
  • 0

    posted a message on am i doing this right?

    I have a integer global varible (not array, not constant) called player8kill count then unit anyunit dies conditions owner = triggering unit ==player 1 killing player ==8 ACTIONS run trigger add gas player 8 variable setplayer8killcount = player8killcount

    TRIGGER ADD GAS PLAYER 8 player8killcount >=10 modify player 8 vespene : add 1 variable set player 8 kill count = 0

    atm when ever player 8 gets a kill after about twenty still nothing happens. Also when he kills a hero he gets 2 gas.

    unit anyunit dies

    triggering unit civilian male x7

    modify player 8 vespene : add 2

    what am i doing wrong? thanks in advance.

    Posted in: Triggers
  • 0

    posted a message on [SOLVED] Multiple Spell Levels Setup

    what are you trying to do zero? i dont understand? are you trying to make the graviton prison deal damage?

    Posted in: Triggers
  • 0

    posted a message on Player chooser in game - Like Island Defence

    that didnt exactly help lol, this is my 1st map :D

    Posted in: Triggers
  • 0

    posted a message on Player sorting

    i think i might see my problem In game variants player attributes i have player 1 and 2 and 8 player 1, 2 shuuld be on team and player 8 shold not be but its says they are not on a team. But when i start the game it has a trigger which puts players 1-7 as allys with shared vision and i also closed all spots except neutral player 1 , 2 and 8

    Posted in: Miscellaneous Development
  • 0

    posted a message on Player sorting

    I even made player 8 green so i knew if he was on my team and player 8. But it seeems player 8 is a rebel and just wants to be on the wrong team so morphs into a player 3 :( please help!

    Posted in: Miscellaneous Development
  • 0

    posted a message on Player sorting

    isnt that saying, pick people in player group then kill all of their units if they are not a computer?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Player sorting

    ok Im testing my map with 3 people instead of 8 its still same thing tho

    usuallty 7v1 but we playing it 3v1 ive closed players 3-7 off with 1,2 and 8 open but for some reason even though player player 8 isonly enemy it makes one of the players play 3 ive closed. ive made sure at start of the game it decides whos on whos team. any sggestions.?

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