Difference between revisions of "Gizmos Community Projects"
(→OBJECTLIST Commands) |
(→OBJECTLIST Commands) |
||
Line 125: | Line 125: | ||
==== OBJECTLIST Commands ==== | ==== OBJECTLIST Commands ==== | ||
OBJECTLIST gives you the ability to make a list of objects. Then with the RANDOM,ALL you will be able to send a message to a RANDOM object on the list, or ALL of the objects on the list. | OBJECTLIST gives you the ability to make a list of objects. Then with the RANDOM,ALL you will be able to send a message to a RANDOM object on the list, or ALL of the objects on the list. | ||
+ | The general syntax when using OBJECTLIST is | ||
+ | ''OBJECTLIST@Mode@ListOfObjects@function()@params'' | ||
+ | ''@Mode can be RANDOM or ALL'' | ||
+ | ''@ListOfObjects should always be like 15,37,45,86 for formatting'' | ||
+ | ''@function the function to call such as SendMessage()'' | ||
+ | ''@params this is the paramater to pass to the function'' | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 131: | Line 137: | ||
| ''The following commands can be found in gizmos_simple_spawner.lua file.<br> You can find them in the HandleChanges(mob,spawn_template) function'' | | ''The following commands can be found in gizmos_simple_spawner.lua file.<br> You can find them in the HandleChanges(mob,spawn_template) function'' | ||
|- | |- | ||
− | | OBJECTLIST@RANDOM@objectid1,objectid2,objectid3@SendMessage()@<message> | + | | OBJECTLIST@RANDOM@objectid1,objectid2,objectid3@SendMessage()@<message>||this will randomly pick from objectid1,objectid2,objectid3 and will send the message <message> to the randomly picked object |
|- | |- | ||
[https://www.legendsofaria.com/lN2rwhz4jSVambqesEBZ/index.php/Gizmos_Community_Projects [Back to Top<nowiki>]</nowiki>] | [https://www.legendsofaria.com/lN2rwhz4jSVambqesEBZ/index.php/Gizmos_Community_Projects [Back to Top<nowiki>]</nowiki>] |
Revision as of 06:42, 20 January 2018
Simple Spawner
Introduction
Installation
Simple Spawner Basics
User Interface
Spawn Tab
Loot Tab
Config Tab
Active Tab
Search Tab
Tutorial Videos
How to Spawn something
How to add Items to a monster spawned
How to Configure the spawner
How to Use the Active Tab
How to Search for other spawners
Simple Spawner Advanced
Object Variables
Messaging System
Built In Commands
Scripts
Templates
GUI
Scripting Reference
Object Targeting Commands
[Back to Top]Commands | Argument | Description |
---|---|---|
The following commands can be found in gizmos_simple_spawner.lua file. You can find them in the CheckingCommands(data) function | ||
SendMessage() | <Message> | This sends a message to the OBJECT you wish to send a message too. |
SetHue() | <hue> | This will apply the OBJECT:SetHue(<hue>) function to the OBJECT |
Talk() | <Message> | Gives the NPC a overhead message |
SetScale() | <int> | This sets the targets scale.x,scale.y,scale.z to <int> |
SetObjVar() | <objvar>:<value> | this will set the <objvar> of the target to <value> |
DelObjVar() | <objvar> | this deletes an <objvar> from the target.+ |
RotateBy() | <x,y,z> | rotates the x,y,z by the values in degrees. |
SetLocation() | <x,y,z> | moves the target to the x,y,z values for the location. |
PlayEffect() | <effectname> | plays the <effectname> on the target |
StopEffect() | <effectname> | stops the <effectname> on the target |
PlaySound() | <soundname> | plays the <soundname> at the targets location |
Spawned Object Commands
[Back to Top]Commands | Syntax | Description |
---|---|---|
The following commands can be found in gizmos_simple_spawner.lua file. You can find them in the HandleChanges(mob,spawn_template) function | ||
hue | @hue:<value> | this will set the hue of the spawned object. |
scale | @scale:<value> | this will set the scale of the spawned object. |
str | <> | info. |
agi | <> | info. |
int | <> | info. |
con | <> | info. |
wis | <> | info. |
will | <> | info. |
name | <> | info. |
title | <> | info. |
team | <> | info. |
location | <> | info. |
rotate | <> | info. |
setobjvar | <> | info. |
effect | <> | info. |
sound | <> | info. |
body | <> | info. |
invuln | <> | info. |
facing | <> | info. |
health | <> | info. |
stamina | <> | info. |
mana | <> | info. |
OBJECTLIST Commands
OBJECTLIST gives you the ability to make a list of objects. Then with the RANDOM,ALL you will be able to send a message to a RANDOM object on the list, or ALL of the objects on the list. The general syntax when using OBJECTLIST is
OBJECTLIST@Mode@ListOfObjects@function()@params @Mode can be RANDOM or ALL @ListOfObjects should always be like 15,37,45,86 for formatting @function the function to call such as SendMessage() @params this is the paramater to pass to the function[Back to Top]
Example Syntax | What it means |
---|---|
The following commands can be found in gizmos_simple_spawner.lua file. You can find them in the HandleChanges(mob,spawn_template) function | |
OBJECTLIST@RANDOM@objectid1,objectid2,objectid3@SendMessage()@<message> | this will randomly pick from objectid1,objectid2,objectid3 and will send the message <message> to the randomly picked object |
WAITFOR Commands
[Back to Top]Commands | Syntax | Description |
---|---|---|
The following commands can be found in gizmos_simple_spawner.lua file. You can find them in the HandleChanges(mob,spawn_template) function | ||
hue | @hue:<value> | this will set the hue of the spawned object. |