Game logic - Player role – Ylands
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Ylands scripting navbox}}" to "{{Ylands editor navbox}}") |
Lou Montana (talk | contribs) m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|19}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}}") |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Defines spawning point and equipment of player. | Defines spawning point and equipment of player. | ||
=Properties= | = Properties = | ||
===Equipment and inventory=== | === Equipment and inventory === | ||
*Starting equipment for this role | *Starting equipment for this role | ||
*Item placed in first inventory slot will be equipped in players hands upon spawn | *Item placed in first inventory slot will be equipped in players hands upon spawn | ||
*Player will not get respawn with this equipment | *Player will not get respawn with this equipment | ||
===Spawn place=== | === Spawn place === | ||
*Player will spawn on selected spawn point | *Player will spawn on selected spawn point | ||
*Its possible to select a [[Ylands Game logic - Logic label|'''Logic Label''']] with collection of Spawn Points, spawn will be then selected by random | *Its possible to select a [[Ylands:Game logic - Logic label|'''Logic Label''']] with collection of Spawn Points, spawn will be then selected by random | ||
=Notes= | = Notes = | ||
*Name given to this game logic will be same as the one displayed as name of the role. | *Name given to this game logic will be same as the one displayed as name of the role. | ||
===Player Teams=== | === Player Teams === | ||
*One team can have multiple player roles. | *One team can have multiple player roles. | ||
*One player role can be added to multiple player teams. | *One player role can be added to multiple player teams. | ||
Line 21: | Line 21: | ||
*Each role in the team can have different spawn points | *Each role in the team can have different spawn points | ||
=Events= | = Events = | ||
*[[Ylands Tile - On Player Spawn|On Player Spawn]] | *[[Ylands:Tile - On Player Spawn|On Player Spawn]] | ||
*[[Ylands Tile - On Player Respawn|On Player Respawn]] | *[[Ylands:Tile - On Player Respawn|On Player Respawn]] | ||
*[[Ylands Tile - On Player Death|On Player Death]] | *[[Ylands:Tile - On Player Death|On Player Death]] | ||
*[[Ylands Tile - On Player Connected|On Player Connected]] | *[[Ylands:Tile - On Player Connected|On Player Connected]] | ||
*[[Ylands Tile - On Player Disconnected|On Player Disconnected]] | *[[Ylands:Tile - On Player Disconnected|On Player Disconnected]] | ||
---- | ---- | ||
{{Ylands | {{Navbox/Ylands}} | ||
{{DEFAULTSORT:{{#sub:{{PAGENAME}}| | {{DEFAULTSORT:{{#sub:{{PAGENAME}}|13}}}} | ||
[[Category: Game Logic]] | [[Category: Game Logic]] | ||
[[Category: Ylands 0.10]] | [[Category: Ylands 0.10]] |
Latest revision as of 14:21, 24 November 2023
Description
Defines spawning point and equipment of player.
Properties
Equipment and inventory
- Starting equipment for this role
- Item placed in first inventory slot will be equipped in players hands upon spawn
- Player will not get respawn with this equipment
Spawn place
- Player will spawn on selected spawn point
- Its possible to select a Logic Label with collection of Spawn Points, spawn will be then selected by random
Notes
- Name given to this game logic will be same as the one displayed as name of the role.
Player Teams
- One team can have multiple player roles.
- One player role can be added to multiple player teams.
- Player team can override the spawn point of role.
- Each role in the team can have different spawn points
Events