GameBlender 4 Ever
c = GameLogic.getCurrentController()
o = c.getOwner()

if hasAttr(o, "hello"):
	print "Object has a property called "Hello!"

The original version of this script came from [<non-existent website> none] and was written by Gorgan Almighty.

Permission to include this script in the GameBlender 4 Ever wiki under the GFDL license was granted by the author.

View comments | Add a comment