Files
NGECore2/scripts/commands/stopwatching.py
T

18 lines
386 B
Python

import sys
def setup():
return
def run(core, actor, target, commandString):
dancer = actor.getPerformanceWatchee()
if not dancer:
return
actor.setPerformanceWatchee(None)
dancer.removeAudience(actor)
if not actor.getPerformanceListenee():
actor.setMoodAnimation('')
actor.sendSystemMessage('@performance:dance_watch_stop_self',0)
return