Please help , Problem with a Trigger

F

Flakes

Guest
I want to make trigger in which tue player who gets 60 kills wins , i made an Integer Variable [array] called playerkill , I made a leaderboard that counts kills , 2 questions:


What's the trigger???????
 
men , you think that i didn't used the searchbar , i did , i found this =


Mmm, variables.

You would have to make a variable for each player, like, PlayerKill[array]


And a trigger such as:
E- Unit dies
C-
A-Set variable PlayerKill[Number (Owner of killing unit)] = PlayerKill[Number (Owner of killing unit)] +1

And the Victory trigger
E- PlayerKill[X]=60
C-
A- Victory for Player X

Make a copy of the victory trigger for each player


but in the second trigger i don't know how to do the event=

E- PlayerKill[X]=60


SO IF IAM ASKING IS BECAUSE I ALREADE USE THE SEARCHBAR SO DON'T SAY THAT
 
> in the second trigger I don't know how to do the event

You don't really need a second trigger.

Set Kills[ Player ] = Kills[ Player ] + 1
If Kills[ Player ] greater than or equal to ... then
 
Set Kills[ Player ] = Kills[ Player ] + 1
If Kills[ Player ] greater than or equal to ... then
Today 12:22 PM




thanks , but those things are events , conditions or actions??
 
Well, up here, you said:

> And a trigger such as:
> E- Unit dies
> C-
> A-Set variable PlayerKill[Player number of (Owner of (Killing unit))] = PlayerKill[Player number of (Owner of (Killing unit))] + 1

Which is a good start already.
And, after adding 1 to the kills score, add an "if then else" action that checks for 60.
 
men , iam a noob on this , can you give me the exactly

"if then else" trigger plz , but the exactly exatly because when iam crwating the trigger it says

If Player_kill[index] then do Actions then else Actions


I don't know what to put in [index] and on else Actions




and whats that of changing the score on leaderboard??
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good

      The Helper Discord

      Staff online

      • Ghan
        Administrator - Servers are fun

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top