1. #1
    Hp_venomZ's Avatar Senior Member
    Join Date
    Mar 2014
    Posts
    1,008

    Operations

    i looked up the redlynxtv editor episode of the operations and i didnt understand anything, so plz, someone explain me how it works and what we can do with operations!
    Share this post

  2. #2
    dasraizer's Avatar Senior Member
    Join Date
    Apr 2014
    Location
    UK, Isle of Wight
    Posts
    1,195

    Re: Operations

    think of these as your math tools,

    so A+B=C

    A is operand1
    B is operand2
    C is the output, in the case of triggers this is only apparent when its used by another trigger that takes a value and can also be used by check boxes 0=unchecked, 1=checked

    each operation has a set of sub options, like Add, Subtract, etc and some of the operations are specialised, like Distance Operator, this holds things like World and this is used to measure the distance between two objects, in meters, by setting both sources to the objects you wish to measure. the height measures the difference in height.

    the N-Input Operator can select many triggers that output numbers and acts on them depending on what's selected, so A+B+C+D+E+F+G or A*B*C*D*E*F*G etc

    the one input operator takes a single value and performs some function on that number, like Sin,Cos or Floor <- this outputs the Operand with the part after the decimal removed, basically a whole number. some of these show an X like ArcTan(X/1000) the X part is just the Operand and shows how its handled by the function and some will show its taken as being *1000 or /1000, this is for resolution and must be done by you on the value of the Operand or the output of the trigger, so in the case of ArcTan(X/1000) this shows me that i need to multiply X (the number im using for the operand) by 1000 before i pass the value to this function.

    nearly all options values/etc when highlighted in each trigger pops up with an info message at the bottom middle of the screen that says "Press Y for Object Picker", when you hit the Y button, you'll get a cross hair and you can then select a trigger that outputs a number.

    as for uses, that's really depending on what you wish to do, checkout the skill game tutorial as it shows why you need to use math and data sources to manipulate and store data.

    hope this helps
    Share this post