Refactored EntertainmentService to to allow music to function properly

Modified startdance script to work with the refactored EntertainmentService
This commit is contained in:
wallaceg09
2014-11-07 14:31:53 -06:00
parent 473e7be4c6
commit bfc1653d68
2 changed files with 79 additions and 6 deletions
+3 -1
View File
@@ -56,7 +56,9 @@ def startDance(core, actor, danceName, visual):
entSvc = core.entertainmentService
if visual <= 0:
visual = entSvc.getDanceVisualId(danceName)
print("[PYTHON] startdance.visual = " , visual)
visual = entSvc.getDanceVisualId(danceName)
print("[PYTHON] startdance.visual = " , visual)
if visual <= 0:
actor.sendSystemMessage('@performance:dance_unknown_self',0)