Thread: Getting Loopy
View Single Post
Junior Member
Status: Offline
Posts: 5
Join Date: Jun 2015
Default 06-23-2015, 07:35 PM

Using the Event System

While [variable] is true

Begin [method]
During [do nothing]
End [method2]

Begin will run your method 1 time when your condition becomes true
End will run a different method 1 time when the condition becomes false.


While [objA] is within 5 meters of [objB] is true
Begin [objA] say hello
During: do nothing
End [objA] say Goodbye

in this simple loop when object is within 5 meters of each other the first will say hello, then if you move the objects apart the first will say goodbye.

alternatively if you want to run a method on loop while the condition is met, place it in the During slot
Reply With Quote