edited February 2017 in ORK Support
is it possible to call a formula from an event and pass in the min and max?
the reason i ask is partially because i want an RNG in the event system.

...And yes I totally realize i could just do a function to variable node. ;-) I'm trying to keep things consistent here people!
Post edited by chud575 on
  • The only way to do this is by using variables. Since the event and formula share the local variables, you can pass them as local variables and prevent interference with other events and formula calls.

    I.e. before using the formula, you'll have to set a min and max float variable in your event. In the formula, you'll have to check the formula value at the end and change it if it exceeds the limits.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.