PDA

View Full Version : Editing Commands


OoDemizeoO
07-07-2012, 05:05 AM
Is there a way to remove XYZ from the #zone function? Or another command that zones but not to a location?

GLGanjika
07-07-2012, 09:14 AM
Is there a way to remove XYZ from the #zone function? Or another command that zones but not to a location?

#zone doesn't require x y z - its optional ... to zone: type #zone qeynos for example and it will take you to a default location within the zone 'Qeynos'.
X Y Z isn't mandatory in this case.

OoDemizeoO
07-07-2012, 02:16 PM
I know that, my question is on editing the command itself so players can't use it to go to a specific location but to ONLY be able to use it to go to a zone's default "zone in" location.

joligario
07-07-2012, 03:13 PM
Go into the source, remove the XYZ from the command, and recompile.

Or in this case you can also bump up the admin level required to zone to specific coords. (commandZoneToCoords)