mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-28 13:12:54 -04:00
Fixed #308 and added foundation work for chat channels
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user