Changes

Jump to navigation Jump to search

Documentation/Engine/Units

448 bytes added, 01:40, 19 December 2018
What is unit?
=What is unit?=
Units are objects in inside SCS game engine that have ability to . One of their core abilities is so they can be serialized or deserializedmaking it a perfect tool to give content creators a way to define various parts of the games.
Unit has:
|
|-
| bool (boolean(bool)
| x
| attribute: true
|
|-
| <span id="attribute_type_token">token</span>
| x
| attribute: value
|Token is a string of maximum length of 12 characters, only lowercase alphanumeric characters and underscore can be used [<code>a-z0-9_</code>]
|-
| owner pointer(owner_ptr)
| x
| attribute: .some.nameless.unit
| '''owner_ptr''' refers to a nameless unit defined within the same SiiNunit (eg. <code>.trailer.tchassis</code>)
|-
| link pointer(link_ptr)
| x
| attribute: some.named.unit
<pre>
attribute_name[]: value
attribute_name[]: value2
attribute_name[]: value3
</pre>
attribute_name[2]: 9 <-- 3rd element
</pre>
 
=Documented Unit Types=
{{Special:PrefixIndex/Documentation/Engine/Units/|hideredirects=1|stripprefix=1}}
developer
1,626
edits

Navigation menu