Help

JS-CHAR-EDITOR

The syntax for the Char editor method is:

<character>.editor( <instructions>, <title>, <object>, <propertyName> )

The editor method on characters allows you to invoke the Arcane Ages editor on a particular string property for a given object. The instructions is what will be displayed as the instructions when they enter the editor. The title property is what will be displayed as the title for the editor window when using windowed clients like the Arcane Ages Java client. object must resolve to some valid JavaScript object and propertyName is the name of the property to use on that object. If the property doesn't already exist it will be added.

The following bit of JavaScript puts the actor into an editor to edit the subject's long description.

actor.editor(
   "Enter the Long Description for " + subject.shortDesc,
   "Editing " + subject.shortDesc + "'s Long Description",
   subject, "longDesc" );