mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-07-31 01:15:50 -04:00
15 lines
301 B
Python
15 lines
301 B
Python
import sys
|
|
|
|
#Args: name
|
|
def execute(objManager, player, target, args):
|
|
ghost = player.getPlayerObject()
|
|
if ghost is None or target is None:
|
|
return
|
|
|
|
waypoint = ghost.getWaypoint(target.getObjectId())
|
|
if waypoint is None:
|
|
return
|
|
|
|
waypoint.setName(args)
|
|
ghost.updateWaypoint(waypoint)
|
|
return |