Template:Table ComponentTriggers: Difference between revisions

Template page
update table headers and example
fix table
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:


{{Table ComponentTriggers
{{Table ComponentTriggers
|Spawn()|[[Type:Action`1|Action]]| Spawns a slot randomly selected from <code>Templates</code>, located at the origin of this component's parent slot.
|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.
|SpawnAtPoint()|[[Type:Action`1|Action`1]]&lt;point: [[Types:Float3|Float3]]&gt;| Spawns a slot randomly selected from <code>Templates</code>, located at the position specified in the <code>Float3</code> argument  
|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  
}}
}}


<onlyinclude><includeonly>{| class="wikitable mw-collapsible"
<onlyinclude><includeonly>{| class="wikitable mw-collapsible"
|+ Triggers
|+ Triggers
|-
! Method Name
! Method Name
! Method type and Arguments.
! Method type and Arguments.
! Is the method hidden?
! Description
! Description
{{#if:{{{1|}}}|
{{!}}-
{{!}}<code>{{{1}}}</code>
{{!}}{{{2}}}
{{!}}{{{3}}}
}}
|-
|-
{{#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>
|}</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