Difference between revisions of "Spawned Object Commands"
(→Information) |
(→Commands) |
||
Line 35: | Line 35: | ||
| title || title:value || This will change the title of the spawned object to this value | | title || title:value || This will change the title of the spawned object to this value | ||
|- | |- | ||
− | | location || location:x,y,z || This will spawn the object at the given location of x,y,z | + | | location *v1.4*|| location:x,y,z || This will spawn the object at the given location of x,y,z |
|- | |- | ||
− | | setobjvar || setobjvar:key,value || This will set an objvar on the spawned object to they key,value | + | | setobjvar *v1.4*|| setobjvar:key,value || This will set an objvar on the spawned object to they key,value |
|- | |- | ||
|} | |} |
Revision as of 16:56, 12 December 2017
Information
Below is a list of commands you can use on spawned objects to change various values. These commands can be found in the gizmos_simple_spawner.lua, they reside in the HandleChanges function. It's easy to create your own command(s). When you are using the format below, here is an example of how to edit the command into the text box on the spawner.
- goblin@hue:FF0000 -- in this example you set the goblin hue to red
- goblin@location:3.23,0.00,25.93 -- in this example the goblin will ignore the random spawn and be moved to location(3.23,0.00,25.93)
You can also combine these commands to do more then one thing like the following examples. There really isn't a hard limit on how many commands you can do when you spawn a monster.
- goblin@hue:FF0000@location:3.23,0.00,25.93@str:50 -- in this example we set the hue,location and str of the goblin.
- goblin@str:50@agi:45@int:17@con:29@wis:12@will:15 -- in this example we set all the stats of the goblin.
Commands
Command | Format | Description |
---|---|---|
hue | hue:value | 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 |