negative

negative

negative

Details

Kode wheel segment Math
Style Math
Modifiers  None
Primarily WHEN/DO Both
Pre-made brains that use it Unknown

Math > negative

Description

This tile is a Math tile. It is used to create the negative equivalent of a positive number, or the positive equivalent of a negative number.

Example Code

WHEN [once] DO [numvar:action][=][2]

WHEN [RT][pressed] DO [numvar:action][=][negative][numvar:action]

WHEN DO [display][numvar:action][screen center]

In this example the Right trigger press will change the number from 2 to -2 back to 2 every time the RT is pressed.

Modifiers

None

Other Uses

 

Not sure how this is used on the WHEN side of the brain. EXPLANATION NEEDED.

Comments are closed.

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: