time
time
gets/sets the number of frames to delay the tracking.
Type: integer
Sample
Code
################### Get time
# get controller
controller = GameLogic.getCurrentController()
# get actuator attached to the controller named RaceCam
act = controller.actuators["RaceCam"]
# get the frame lag
lag = act.time
################### Set time
# get controller
controller = GameLogic.getCurrentController()
# get actuator attached to the controller named RaceCam
act = controller.actuators["RaceCam"]
# set the frame lag
act.time = 10
|