Difference between revisions of "Documentation/Engine/Units/accessory horn addon data"
< Documentation | Engine | Units
Jump to navigation
Jump to search
(Shiny new page for shiny new unit.) |
(→Attributes: Changed to include only those not inherited from accessory_addon_data, per 50keda's request) |
||
Line 2: | Line 2: | ||
== Attributes == | == Attributes == | ||
− | Many common attributes are inherited from [[Documentation/Engine/Units/accessory_data|'''accessory_data''']]. | + | Many common attributes are inherited from '''accessory_addon_data''' and, by extension, [[Documentation/Engine/Units/accessory_data|'''accessory_data''']]. |
{|class="wikitable" | {|class="wikitable" | ||
!Name | !Name | ||
Line 8: | Line 8: | ||
!Default Value | !Default Value | ||
!Description | !Description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
|sound_path | |sound_path |
Revision as of 20:17, 14 October 2020
The accessory_horn_addon_data unit class is an extension of accessory_addon_data, used specifically for air horn accessories. If functions the same as accessory_addon_data, with the addition of the sound_path attribute used to bind a horn sound event to the accessory. This is most commonly used for customization of the player's vehicle. This unit type was added in 1.38.
Attributes
Many common attributes are inherited from accessory_addon_data and, by extension, accessory_data.
Name | Type | Default Value | Description |
---|---|---|---|
sound_path | string | Path to the sound bank/event or soundref to be used for the horn accessory. |