Page 1 of 1

[Python] object.PickByCompare

PostPosted: Wed Aug 06, 2014 9:52 am
by playerelite
Hey :)

So I'm currently working on a game which is 95 % made with Python and I want to pick an object by comparison using python and the objectname.PickByCompare
The problem is that it's not working :/

Code: Select all
myObject.PickByCompare(myObject.Value("name"), ==, "test")

I think that I must do something like (for each object -> pick by comparison) but I don't know how to do this :(

Any idea :( ?