mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-08-01 02:15:58 -04:00
18 lines
558 B
Python
18 lines
558 B
Python
import sys
|
|
|
|
#Args: color planet x y z
|
|
def execute(objManager, player, target, args):
|
|
#TODO: move content in placeHolder method to here
|
|
return
|
|
|
|
def placeHolder():
|
|
cmdArgs = args.split(" ", 4)
|
|
|
|
waypoint = objManager.createObject("object/waypoint/shared_waypoint.iff")
|
|
waypoint.getLocation().setTerrain(player.getCreatureObject().getLocation().getTerrain())
|
|
waypoint.setLocation(float(cmdArgs[2]), float(cmdArgs[3]), float(cmdArgs[4]))
|
|
waypoint.setActive(True)
|
|
waypoint.setName("New Waypoint")
|
|
|
|
player.getPlayerObject().addWaypoint(waypoint)
|
|
return |