Help inverting a number
jay_
Member, BASIC Posts: 5
Basically I am containing an attribute to the height of an actor, thought out time the actors height decreases. But the number on the attribute I want the same as the height but inverted. i.e actors height is 500, after 10 seconds is 300, I want my other attribute to be -500 then -300. not matter what the height is its returned inverted in other attribute. Any input would be great thanks
Comments
*-1
Follow us: Twitter - Website
height *-1
or . . . . height-(height
*
2)or . . . . (height
*
2)*
-0.5or simply . . . -height
(and dozens of other ways)
@Socks, I am shocked you left out height * sin(270)
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Wow, I'm surprised too. You could say it's almost a sin that he forgot it.
Follow us: Twitter - Website
I'm shocked you didn't mention the AppformativeNumberReversingService™
I will now drink three bottles of red wine and reflect on where I went wrong with my initial post, if I don't get back to you with my thoughts I am probably asleep in the bath.
haha cheers guys great one