propName
propName
Note:
used only with IPO type:
Property
gets/sets the name of the property to be used .
Type:
string.
Sample Code
################# Get propName
# get controller
controller = GameLogic.getCurrentController()
# get ipo actuator attached to the controller
named WalkCycle
act = controller.actuators["WalkCycle"]
# Get the property name
name = act.propName
################# Set propName
# get controller
controller = GameLogic.getCurrentController()
# get ipo actuator attached to the controller
named WalkCycle
act = controller.actuators["WalkCycle"]
# Set the property name
act.propName = "Start"
|