mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-14 00:02:07 -04:00
Added a title list to PlayerObject as well for server purposes (mainly for /setcurrentskilltitle)
15 lines
360 B
Python
15 lines
360 B
Python
import sys
|
|
|
|
def setup():
|
|
return
|
|
|
|
def run(core, actor, target, commandString):
|
|
|
|
playerObject = actor.getSlottedObject('ghost')
|
|
print ("Title set to: " + commandString)
|
|
print ("List of Titles: " + playerObject.getTitleList().toString())
|
|
if playerObject is None:
|
|
return
|
|
|
|
playerObject.setTitle(str(commandString))
|
|
return |