Game Development Community

how to know a behaviorField string question (solved)

by rennie moffat · in iTorque 2D · 06/03/2011 (7:06 am) · 0 replies

***EDIT:
getName() works fine.

::)))((((



Hi there,
I am have a behaviorField which I like to leave open in script as it will apply to many objects. The behavior itself will also be applied to many other objects. The question I have is, with the behaviorField referring to objects 1 2 or 3 how can I can have the scripts know what object (1, 2 or 3) has filled the field. Knowing this, will determine what level I load.


About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.