Fixed #308 and added foundation work for chat channels

This commit is contained in:
Waverunner
2014-03-29 16:47:05 -04:00
parent ac2f2e1e17
commit dfab6ac265
17 changed files with 668 additions and 17 deletions
+13
View File
@@ -0,0 +1,13 @@
import sys
def setup():
return
def run(core, actor, target, commandString):
group = core.objectService.getObject(actor.getGroupId())
if group is None:
return
core.chatService.sendChatRoomMessage(actor, group.getChatRoomId(), commandString)
return
+4 -4
View File
@@ -22,11 +22,11 @@ def run(core, actor, target, commandString):
actor.setPosture(8)
actor.setStateBitmask(32768)
actor.setTurnRadius(0)
# These 3 were outside of the return statement. Not sure why.. - Waverunner
#actor.setPosture(8)
actor.setSpeedMultiplierBase(0)
actor.setTurnRadius(0)
actor.setChairCellId(cellId)
return
# sit w/o chair
actor.setPosture(8)
actor.setSpeedMultiplierBase(0)
actor.setTurnRadius(0)
return