mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
20 lines
499 B
Python
20 lines
499 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
entSvc = core.entertainmentService
|
|
|
|
if actor.getPosture() != 0x09 or actor.getPerformanceId() > 0:
|
|
actor.sendSystemMessage('@performance:dance_not_performing', 0)
|
|
return
|
|
|
|
#since we need to stop performance for any posture change,
|
|
# all packets are triggered in setPosture.
|
|
# this may not be very consistent, but it prevents
|
|
# duplicate code.
|
|
actor.setPosture(0x00)
|
|
|
|
return
|