Cleaned up waypoint scripts

This commit is contained in:
Ziggeh
2013-12-08 15:12:43 +01:00
parent 8b21e32f6a
commit 47a2706432
2 changed files with 2 additions and 5 deletions
@@ -6,9 +6,7 @@ def setup():
def run(core, actor, target, commandString):
commandArgs = commandString.split("(^-,=+_)color_13548(,+-=_^)=1")
newString = commandArgs[0]
print (newString)
cmdService = core.commandService
cmdService.callCommand(actor, 'waypoint', None, newString) # No need to re-create a script
core.commandService.callCommand(actor, 'waypoint', None, newString)
return
-1
View File
@@ -74,7 +74,6 @@ def run(core, actor, target, commandString):
waypoint.setActive(True)
waypoint.setColor(WaypointObject.BLUE)
name = commandString.split(" ", 5)
print (name)
if name == "":
name = "Waypoint"