Template:Table ComponentTriggers: Difference between revisions

Template page
imported>Epsilion
mNo edit summary
 
m Clean up template a little bit so it looks correct with the wiki theming, add example.
Line 1: Line 1:
{| class="wikitable" style="font-size:10pt;"
<onlyinclude><includeonly>{| class="wikitable mw-collapsible"
! colspan="3" style="background: lightblue; font-size:10pt;" | Triggers
|+ Triggers
|- style="font-size:10pt; text-align:center; font-weight:bold;"
|-
| Name
! Name
| Arguments
! Arguments
| Description
! Description
{{#if:{{{1|}}}|
{{#if:{{{1|}}}|
{{!}}-
{{!}}-
Line 236: Line 236:
}}
}}
|-
|-
|}
|}</includeonly></onlyinclude>
 
== Examples ==
 
From [[Component:RandomObjectSpawner|RandomObjectSpawner]]
 
{{Table ComponentTriggers
|Spawn()|''None''| Spawns a slot randomly selected from <code>Templates</code>, located at the origin of this component's parent slot.
|SpawnAtPoint()|'''[[Types:Float3|Float3]]'''| Spawns a slot randomly selected from <code>Templates</code>, located at the position specified in the <code>Float3</code> argument
}}

Revision as of 21:13, 3 March 2024


Examples

From RandomObjectSpawner

Triggers
Name Arguments Description
Spawn() None Spawns a slot randomly selected from Templates, located at the origin of this component's parent slot.
SpawnAtPoint() Float3 Spawns a slot randomly selected from Templates, located at the position specified in the Float3 argument