User Tools

Site Tools




Boolean Math.IsEqual(Object x, Object y)
description Returns whether the two values are equal or not.
namespace Math
parameter x ( Object ) : The value to compare with y.
y ( Object ) : The value to compare with x.
return value Boolean True is equal and false otherwise.
Example in

Chase - Double speed:

  <step condition="Math.IsEqual(Playbacks.Editor.Times.ChaseSpeed, 0.0)">...</step>

This step is only executed if the property Playbacks.Editor.Times.ChaseSpeed equals 0.0

Also used in

As of version 10, it is possible to write conditions in a more modern way, which integrates such functions and logic operations as control structures:

    if(Playbacks.Editor.Times.ChaseSpeed == 0.0) {
       ActionScript.SetProperty.Float("Playbacks.Editor.Times.ChaseSpeed", 1.0);
You could leave a comment if you were logged in.
macros/function/math.isequal.txt · Last modified: 2017/11/24 10:54 by icke_siegen