I desperately need help with the last part of my trigger.
What I have so far:
I created a Leaderboard in which I want the value to increase in increments of one as long as a player stays within the given region.
Right now I have it so once a unit enters a region it increases by 1. BUT, I can't figure out how to have the leaderboard continually increase as long as the unit remains within the region.
FYI: This is for a king of the hill trigger. So it is necessary that the leaderboard continually increase as long as their is a unit inside the region.
make a trigger where:
you create a leader board
then set item text, and convert interger(if your variable is an interger) to text
then in every trigger where that variable changes, after the modify or set action for that variable, put a "set item text, and convert interger to text" action
make a trigger where:
you create a leader board
then set item text, and convert interger(if your variable is an interger) to text
then in every trigger where that variable changes, after the modify or set action for that variable, put a "set item text, and convert interger to text" action
I'm sorry I'm really newb when it comes to triggers. Can you please explain what item text, and convert integer to text mean?
inside a trigger make a new action, the action will be " set leaderboard item text"
it will look something like this
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 1 to Text
In the bottom area of your trigger window, you can change what the text is. So go click on it and you will be able to set it to a function, there is a function called convert integer to text. after u select that it will look something like this
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 1 to (Text(0))
Then change the 0 to your integer variable.
and change the column # and row # to where you would want it to be
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I desperately need help with the last part of my trigger.
What I have so far:
I created a Leaderboard in which I want the value to increase in increments of one as long as a player stays within the given region.
Right now I have it so once a unit enters a region it increases by 1. BUT, I can't figure out how to have the leaderboard continually increase as long as the unit remains within the region.
FYI: This is for a king of the hill trigger. So it is necessary that the leaderboard continually increase as long as their is a unit inside the region.
Please help! Thank you
Bump for response
Thank you!
Have the value you want as a global variable
make a trigger where:
you create a leader board
then set item text, and convert interger(if your variable is an interger) to text
then in every trigger where that variable changes, after the modify or set action for that variable, put a "set item text, and convert interger to text" action
I'm sorry I'm really newb when it comes to triggers. Can you please explain what item text, and convert integer to text mean?
Thank you
inside a trigger make a new action, the action will be " set leaderboard item text"
it will look something like this
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 1 to Text
In the bottom area of your trigger window, you can change what the text is. So go click on it and you will be able to set it to a function, there is a function called convert integer to text. after u select that it will look something like this
Leaderboard - Set (Last created leaderboard) item text at column 1 and row 1 to (Text(0))
Then change the 0 to your integer variable.
and change the column # and row # to where you would want it to be