ActorParam/LifeCondition: Difference between revisions

From ZeldaMods (Breath of the Wild)
Jump to navigation Jump to search
imported>Leoetlino
(Created page with "<onlyinclude> {{Parameter archive infobox|param_type=blifecondition|version=0|type=xml}} '''LifeCondition''' contains spawn and despawn conditions for actors. </onlyinclude> =...")
 
imported>Leoetlino
(Redirected page to blifecondition)
 
Line 1: Line 1:
<onlyinclude>
#REDIRECT [[blifecondition]]
{{Parameter archive infobox|param_type=blifecondition|version=0|type=xml}}
'''LifeCondition''' contains spawn and despawn conditions for actors.
</onlyinclude>
== Parameter objects ==
=== InvalidWeathers ===
Weathers that will cause the actor not to spawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Weather name (e.g. HeavyRain)
|}
 
=== InvalidTimes ===
Time types that will cause the actor not to spawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Time name (e.g. Morning_B)
|}
 
=== DisplayDistance ===
{|class="wikitable"
! Key !! Type !! Description
|-
| Item || float || Maximum distance to player (actor will despawn if the distance is greater than this value)
|}
 
=== AutoDisplayDistanceAlgorithm ===
{|class="wikitable"
! Key !! Type !! Description
|-
| Item || str || Distance calculation algorithm (only "Bounding.Y" is supported {{check}})
|}
 
=== YLimitAlgorithm ===
{|class="wikitable"
! Key !! Type !! Description
|-
| Item || str || Limit type ("NoLimit" or "LimitYDiff" {{check}})
|}
 
=== DeleteWeathers ===
Weathers that will cause the actor to despawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Weather name (e.g. HeavyRain)
|}
 
=== DeleteTimes ===
Time types that will cause the actor to despawn.
{|class="wikitable"
! Key !! Type !! Description
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Time name (e.g. Noon_A)
|}
 
== Examples ==
=== Landmark10km ===
<source lang="yaml">
!io
version: 0
type: xml
param_root: !list
  objects:
    DisplayDistance: !obj {Item: 10000.0}
    AutoDisplayDistanceAlgorithm: !obj {Item: Bounding.Y}
    YLimitAlgorithm: !obj {Item: NoLimit}
  lists: {} 
</source>
 
=== Animal_Night ===
<source lang="yaml">
!io
version: 0
type: xml
param_root: !list
  objects:
    InvalidWeathers: !obj {Item001: !str64 HeavyRain, Item002: !str64 HeavySnow, Item003: !str64 ThunderRain}
    InvalidTimes: !obj {Item001: !str64 Morning_B, Item002: !str64 Noon_A, Item003: !str64 Noon_B,
      Item004: !str64 Evening_A}
    DisplayDistance: !obj {Item: 0.0}
    AutoDisplayDistanceAlgorithm: !obj {Item: Bounding.Y}
    YLimitAlgorithm: !obj {Item: NoLimit}
  lists: {}
</source>
 
<references/>
[[Category:Content (BotW)]]
[[Category:Internals]]

Latest revision as of 19:30, 18 September 2018

Redirect to: