import bge
Cont = bge.logic.getCurrentController()
Own = Cont.owner
Sens = Cont.sensors[0]
PlyAct = Cont.actuators["Player"]
NPCAct = Cont.actuators["NPC"]
LSpc = 1.4 # Distance for lines/rows
LLife = 3 # seconds
if Sens.positive:
Body = Sens.bodies[0].split("|")
if Body[0] == "ToNPC":
Own["T"] = -LLife
if Body[2] != "":
# Process special instructions, if/when available
# This/there (are?) no instructions !!! Example:
SpecOrders = Body[2].split(",")
for Order in SpecOrders: