Target Object Commands

From Legends of Aria Admin and Modding Wiki
Revision as of 19:43, 12 December 2017 by Gizmo (talk | contribs) (Commands)
Jump to: navigation, search

return to Gizmos Community Projects

Information

Below is a list of commands you can use to change values and send messages to other objects as a spawn sequence of this spawner. In the following examples below, i will show you a few simple commands and what they do.

  • OBJECT@108372@SetHue()@FF0000 -- this will find the object 108372 and paint it red.
  • OBJECT@SELF@SetRange()@5,10 -- this will set the spawners min and max range to min = 5 and max = 10
  • OBJECT@104938@SetObjVar()@datatable:{32,34,35,36} -- this will set a ObjVar named datatable on the object 104938.. the table will contain {32,34,35,36}
  • OBJECT@103928@SendMessage()@deactivate -- if the object 103928 has a event handler for deactivate, this would fire that event handler on object 103928

Commands

Command Format Description
SendMessage() OBJECT@<targetid>@SendMessage()@<Message> this will change the object being spawned to this hue value
scale scale:value This will change the scale of the object being spawned to value
scale scale:value This will change the scale of the object being spawned to value
str str:value If the spawned object is a monster it will change the str to this value
agi agi:value If the spawned object is a monster it will change the agi to this value
con con:value If the spawned object is a monster it will change the con to this value
int int:value If the spawned object is a monster it will change the int to this value
wis wis:value If the spawned object is a monster it will change the wis to this value
will will:value If the spawned object is a monster it will change the will to this value
name name:value This will change the name of the spawned object to this value
title title:value This will change the title of the spawned object to this value
location *v1.4* location:x,y,z This will spawn the object at the given location of x,y,z
setobjvar *v1.4* setobjvar:key,value This will set an objvar on the spawned object to they key,value
rotate *v1.4* rotate:x,y,z This will rotate the spawned object to the x,y,z values

return to Gizmos Community Projects