Trigger action suggestion

Give us your feedback about the Level Editor! Or have an idea? Post it here!

Trigger action suggestion

Postby joe6767 » 24 November 2017, 03:24

1. Wait until value of variable A equals value B
Spoiler: Show More
What this action does is pause the trigger's action until a certain requirement is met. It would remove the need for a timer to constantly run a trigger to check if a certain requirement was met.

An example use of this would be an experience system. When a player reaches 'X' experience, the trigger would continue to run and level them up.


2. Wait until value of variable A equals value of variable B
Spoiler: Show More
It's pretty much the same thing as the other one, but checks the value of a variable instead.
Last edited by joe6767 on 24 November 2017, 18:50, edited 1 time in total.

joe6767
Recruit
 
Posts: 10
Joined: 25 February 2017, 03:34

Re: Trigger action suggestion

Postby darkstar 1 » 24 November 2017, 08:06

Couldn't you just call the trigger whenever the variable changes instead of using a timer constantly running it?

For example: a player presses a button, this button activates a trigger that both rises the variable with 1 and executes another trigger that checks if the variable equals a certain number.



User avatar
darkstar 1
Proxy [700]
 
Posts: 712
Joined: 13 September 2014, 13:20
Location: Here... or there :|

Re: Trigger action suggestion

Postby joe6767 » 24 November 2017, 18:50

Hadn't though about that. I suppose since there's a workaround, this action isn't needed.

Topic locked.

joe6767
Recruit
 
Posts: 10
Joined: 25 February 2017, 03:34


Return to Level Editor

Who is online

Users browsing this forum: No registered users



cron