Jump to content

[LE] Play - VisualEffect in a loop


Elias555

Recommended Posts

I have a script that will fire over and over for a set amount of time, within the script is a play visual effect. It currently will stack with itself for the full duration. How can I limit it to only playing once until the effect subsides and then playing once again when it's over?

In other words, how can I get something like this to work:

If MyEffect.Play(Game.GetPlayer()) == False

	MyEffect.Play(Game.GetPlayer(), 0.1)

EndIf
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...