Component:PointGenerator: Difference between revisions

From Resonite Wiki
imported>Xekri
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=PointGeneratorComponent.png |Name=Point Generator }} <!--T:2--> == Fields == {{Table Compon..."
 
Yeah no it's not very commonly used in spawn area. The circle one is though!
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<translate>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{Infobox Component
{{Infobox Component
|Image=PointGeneratorComponent.png
|Image=PointGeneratorComponent.png
|Name=Point Generator
|Name=Point Generator
}}
}}
Generates points only at a single point which is the position of the slot this component is on.


<!--T:2-->
<!--T:2-->
Line 15: Line 15:
<!--T:3-->
<!--T:3-->
== Usage ==
== Usage ==
Used in a [[Component:CommonSpawnArea|Common Spawn Area]] to define in what kind of spawn area shape users should initially spawn into. In this case, it spawns them at the exact location of the component's slot.


<!--T:4-->
<!--T:4-->
== Examples ==
== Examples ==
Can be used to spawn the user very precicely, like how players would spawn in some old PVP games or the positions for players in CSGO.


<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
* [[Component:CommonSpawnArea]]
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Point Generator]]
[[Category:Components{{#translation:}}|Point Generator]]
[[Category:Components:Transform:Point Generators{{#translation:}}|Point Generator]]
[[Category:Components:Transform:Point Generators{{#translation:}}|Point Generator]]

Latest revision as of 17:02, 15 October 2024

Component image 
Point Generator component as seen in the Scene Inspector

Generates points only at a single point which is the position of the slot this component is on.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.

Usage

Used in a Common Spawn Area to define in what kind of spawn area shape users should initially spawn into. In this case, it spawns them at the exact location of the component's slot.

Examples

Can be used to spawn the user very precicely, like how players would spawn in some old PVP games or the positions for players in CSGO.

Related Components