Is there a way in the expression editor to pick between numbers? Example: "when value A = 1 through 5" Destroy object
Printable View
Is there a way in the expression editor to pick between numbers? Example: "when value A = 1 through 5" Destroy object
Yes check out the wiki about random numbers in a range.
http://www.erathean.com/mmfwiki/index.ph...a_certain_range
no, not random numbers. I want it so if "value A = 1,2,3,4, or 5" destroy an object.
You can compare the value to greater then equal to 1 and less then equal to 5, by using compare two general values. That should give the result you want.
Probably something like:
Alterable Value A of "whatever" >= 1
+ Alterable Value A of "whatever" <= 5
--> Destroy "Object"
Yes...like that <img src="/center/images/graemlins/wink.gif" alt="" />
[]Probably something like:
Alterable Value A of "whatever" >= 1
+ Alterable Value A of "whatever" <= 5
--> Destroy "Object" [/]
Hes talking about the "expression editor". But i don't think there is any otherway than that.
ok... I see... this could be made by an extension i suppose... Does anyone know how to retrieve object data in c++??
I actually think that the alterable value thing is probably easier. Fix your problem and keep the process of assembling flowing.
[]I actually think that the alterable value thing is probably easier. Fix your problem and keep the process of assembling flowing. [/]
I fully agree... I was just wondering since I was planning on making an extension with mixed functions... Including a clamp function...