Math Expression

The Math Expression node is a collapsed graph created by the Editor, and is based on the expression typed in the name of the node. An input parameter pin is created for each variable name found in the expression. The Return Value output parameter is the result of the expression.

The following screenshot shows a Function named Calculate Money Reward, which uses a Math Expression node. The expression of the node is (PlayerLuck/5) * (EnemyHP/30):

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset