Koala Engine Maths

Oneiroi
Oneiroi Member Posts: 6 Member
edited October 22 in Scripting Workshop

I'm trying to get the engine release time using Koala's Engine Math functions, but apparently they don't take variables as input. Wouldn't it be possible to do something like this?

$Rel_Time := E2V.DRTime(get_engine_par($ENGINE_PAR_RELEASE,0,0,-1))

Comments

  • Gablux
    Gablux Member Posts: 88 Helper

    These functions were created exactly to do what you described. However the output of the E2V.DRTime function is a real number, your $Rel_Time variable is integer so this example would not work.

  • Oneiroi
    Oneiroi Member Posts: 6 Member

    Perfect! Thank you so much!

This discussion has been closed.
Back To Top