getPropertyNames
getPropertyNames()
Returns a list of the names of the properties you added
to the object.
Return type: list [string]
Sample Code
# get controller
controller = GameLogic.getCurrentController()
# get object that controller is attached to
obj = controller.owner
# get a list of the property names
propertyList = obj.getPropertyNames()
|