mirror of
https://bitbucket.org/projectswg/cucore.git
synced 2026-08-02 02:15:57 -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 |