GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

How to add "Contains" to a function?

Two.ETwo.E Posts: 564Member, BASIC

Hello GS Community,

Does anyone know if it is possible to add "Contains" to an equation function?

I am looking to write something like this:

(Game.Attribute "Contains" 1) and (Game.Attribute "Contains" 2) and (True) or (False).

Which means it will return True if the attribute contains both the value 1 and 2.
Otherwise return False.

Also, is it possible to find a list of all possible operations that are supported? Such as Not equal to, equal to or less than etc?

(Note: I am aware I can use a rule and add multiple conditions, but for want I am trying to achieve I need to check multiple conditions at once using an equation.)

Thanks in Advance!
Two.E

Comments

Sign In or Register to comment.