is this same?

Started by yaminogun, November 12, 2015, 10:24:56 AM

Previous topic - Next topic

yaminogun

var(0)
=
var(0) != 0
=
var(0)>0 && var(0)<0


!var(0)
=
var(0) = 0

which one faster?
http://signavatar.com/32255_s.gif

please visit my request thread. here
bad grammar is art

Odb718

trigger1 = var(0) and trigger1 = !var(0)  will be the fastest set ups.

I _THINK_ you mean to put  var(0)>0 || var(0)<0 instead of var(0)>0 && var(0)<0
As for var(0)>0 || var(0)<0 being completely equal to trigger1= var(0) I'm not a 100% positive, but I dont believe they'll trigger exactly the same.

var(0)>0 && var(0)<0, var(0) wont be able to equal a value both greater than and less than 0. As far as I know...
vVv Gouken718 vVv SabreTooth718 vVv


Noctis

#2
trigger1 = Var(0) means If it has a value, then it returns as true.
trigger1 = !Var(0) means if it doesn't have a value, then it returns as true.

If you want something triggered by a specific value from that var, you have to specify a number after var(0).

trigger1 = Var(0) = 10

But to save time, however little, and only if the value doesn't matter, trigger1 = var(0) and trigger1 = !var(0) are the fastest ways.

(Youtube) (WIP) (Mediafire) (New Anime Shop) My Manga Reviews! Personal favorite Patreon! Check her out!

"There is nothing either good or bad, but thinking makes it so."