Template:Table ComponentTriggers: Difference between revisions

Template page
imported>Epsilion
mNo edit summary
 
fix table
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="font-size:10pt;"
== Method type and Arguments ==
! colspan="3" style="background: lightblue; font-size:10pt;" | Triggers
Explains what kind of method it is ([[Type:Action`1|Action]], [[Type:Func`1|Func`1]], etc) and the variable types and names of the arguments (ex: "point: [[Types:Float3|Float3]], weight: [[Types:Float|Float]]"
|- style="font-size:10pt; text-align:center; font-weight:bold;"
 
| Name
== Examples ==
| Arguments
 
| Description
From [[Component:RandomObjectSpawner|RandomObjectSpawner]]
{{#if:{{{1|}}}|
 
{{!}}-
{{Table ComponentTriggers
{{!}}<code>{{{1}}}</code>
|Spawn()|[[Type:Action`1|Action]]|false| Spawns a slot randomly selected from <code>Templates</code>, located at the origin of this component's parent slot.
{{!}}{{{2}}}
|SpawnAtPoint()|[[Type:Action`1|Action`1]]&lt;point: [[Types:Float3|Float3]]&gt;|false| Spawns a slot randomly selected from <code>Templates</code>, located at the position specified in the <code>Float3</code> argument
{{!}}{{{3}}}
}}
}}
<onlyinclude><includeonly>{| class="wikitable mw-collapsible"
|+ Triggers
! Method Name
! Method type and Arguments.
! Is the method hidden?
! Description
|-
|-
{{#if:{{{4|}}}|
{{#invoke:ComponentTriggers|main}}
{{!}}-
{{!}}<code>{{{4}}}</code>
{{!}}{{{5}}}
{{!}}{{{6}}}
}}
|-
{{#if:{{{7|}}}|
{{!}}-
{{!}}<code>{{{7}}}</code>
{{!}}{{{8}}}
{{!}}{{{9}}}
}}
|-
{{#if:{{{10|}}}|
{{!}}-
{{!}}<code>{{{10}}}</code>
{{!}}{{{11}}}
{{!}}{{{12}}}
}}
|-
{{#if:{{{13|}}}|
{{!}}-
{{!}}<code>{{{13}}}</code>
{{!}}{{{14}}}
{{!}}{{{15}}}
}}
|-
{{#if:{{{16|}}}|
{{!}}-
{{!}}<code>{{{16}}}</code>
{{!}}{{{17}}}
{{!}}{{{18}}}
}}
|-
{{#if:{{{19|}}}|
{{!}}-
{{!}}<code>{{{19}}}</code>
{{!}}{{{20}}}
{{!}}{{{21}}}
}}
|-
{{#if:{{{22|}}}|
{{!}}-
{{!}}<code>{{{22}}}</code>
{{!}}{{{23}}}
{{!}}{{{24}}}
}}
|-
{{#if:{{{25|}}}|
{{!}}-
{{!}}<code>{{{25}}}</code>
{{!}}{{{26}}}
{{!}}{{{27}}}
}}
|-
{{#if:{{{28|}}}|
{{!}}-
{{!}}<code>{{{28}}}</code>
{{!}}{{{29}}}
{{!}}{{{30}}}
}}
|-
{{#if:{{{31|}}}|
{{!}}-
{{!}}<code>{{{31}}}</code>
{{!}}{{{32}}}
{{!}}{{{33}}}
}}
|-
{{#if:{{{34|}}}|
{{!}}-
{{!}}<code>{{{34}}}</code>
{{!}}{{{35}}}
{{!}}{{{36}}}
}}
|-
{{#if:{{{37|}}}|
{{!}}-
{{!}}<code>{{{37}}}</code>
{{!}}{{{38}}}
{{!}}{{{39}}}
}}
|-
{{#if:{{{40|}}}|
{{!}}-
{{!}}<code>{{{40}}}</code>
{{!}}{{{41}}}
{{!}}{{{42}}}
}}
|-
{{#if:{{{43|}}}|
{{!}}-
{{!}}<code>{{{43}}}</code>
{{!}}{{{44}}}
{{!}}{{{45}}}
}}
|-
{{#if:{{{46|}}}|
{{!}}-
{{!}}<code>{{{46}}}</code>
{{!}}{{{47}}}
{{!}}{{{48}}}
}}
|-
{{#if:{{{49|}}}|
{{!}}-
{{!}}<code>{{{49}}}</code>
{{!}}{{{50}}}
{{!}}{{{51}}}
}}
|-
{{#if:{{{52|}}}|
{{!}}-
{{!}}<code>{{{52}}}</code>
{{!}}{{{53}}}
{{!}}{{{54}}}
}}
|-
{{#if:{{{55|}}}|
{{!}}-
{{!}}<code>{{{55}}}</code>
{{!}}{{{56}}}
{{!}}{{{57}}}
}}
|-
{{#if:{{{58|}}}|
{{!}}-
{{!}}<code>{{{58}}}</code>
{{!}}{{{59}}}
{{!}}{{{60}}}
}}
|-
{{#if:{{{61|}}}|
{{!}}-
{{!}}<code>{{{61}}}</code>
{{!}}{{{62}}}
{{!}}{{{63}}}
}}
|-
{{#if:{{{64|}}}|
{{!}}-
{{!}}<code>{{{64}}}</code>
{{!}}{{{65}}}
{{!}}{{{66}}}
}}
|-
{{#if:{{{67|}}}|
{{!}}-
{{!}}<code>{{{67}}}</code>
{{!}}{{{68}}}
{{!}}{{{69}}}
}}
|-
{{#if:{{{70|}}}|
{{!}}-
{{!}}<code>{{{70}}}</code>
{{!}}{{{71}}}
{{!}}{{{72}}}
}}
|-
{{#if:{{{73|}}}|
{{!}}-
{{!}}<code>{{{73}}}</code>
{{!}}{{{74}}}
{{!}}{{{75}}}
}}
|-
{{#if:{{{76|}}}|
{{!}}-
{{!}}<code>{{{76}}}</code>
{{!}}{{{77}}}
{{!}}{{{78}}}
}}
|-
{{#if:{{{79|}}}|
{{!}}-
{{!}}<code>{{{79}}}</code>
{{!}}{{{80}}}
{{!}}{{{81}}}
}}
|-
{{#if:{{{82|}}}|
{{!}}-
{{!}}<code>{{{82}}}</code>
{{!}}{{{83}}}
{{!}}{{{84}}}
}}
|-
{{#if:{{{85|}}}|
{{!}}-
{{!}}<code>{{{85}}}</code>
{{!}}{{{86}}}
{{!}}{{{87}}}
}}
|-
{{#if:{{{88|}}}|
{{!}}-
{{!}}<code>{{{88}}}</code>
{{!}}{{{89}}}
{{!}}{{{90}}}
}}
|-
{{#if:{{{91|}}}|
{{!}}-
{{!}}<code>{{{91}}}</code>
{{!}}{{{92}}}
{{!}}{{{93}}}
}}
|-
{{#if:{{{94|}}}|
{{!}}-
{{!}}<code>{{{94}}}</code>
{{!}}{{{95}}}
{{!}}{{{96}}}
}}
|-
{{#if:{{{97|}}}|
{{!}}-
{{!}}<code>{{{97}}}</code>
{{!}}{{{98}}}
{{!}}{{{99}}}
}}
|-
|-
|}
|}</includeonly></onlyinclude>

Latest revision as of 06:11, 17 March 2025

Method type and Arguments

Explains what kind of method it is (Action, Func`1, etc) and the variable types and names of the arguments (ex: "point: Float3, weight: Float"

Examples

From RandomObjectSpawner

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
Spawn() Action X Spawns a slot randomly selected from Templates, located at the origin of this component's parent slot.
SpawnAtPoint() Action`1<point: Float3> X Spawns a slot randomly selected from Templates, located at the position specified in the Float3 argument