Blifecondition: Difference between revisions

Jump to navigation Jump to search
no edit summary
imported>BravelyPeculiar
No edit summary
imported>BravelyPeculiar
No edit summary
Line 4: Line 4:
'''.blifecondition''' files in [[Content/Actor|Actor]]/LifeCondition contain spawn and despawn conditions for actors.
'''.blifecondition''' files in [[Content/Actor|Actor]]/LifeCondition contain spawn and despawn conditions for actors.
</onlyinclude>
</onlyinclude>
== Parameter objects ==
== Parameter objects ==
=== InvalidWeathers ===
=== InvalidWeathers ===
Weathers that will cause the actor not to spawn.
Weathers that will cause the actor not to spawn.
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Weather name (e.g. HeavyRain)
| {{AampIndexedParam|key=Item%03d|start_idx=1}}  
| str64  
| Weather name (e.g. HeavyRain)
|}
|}


=== InvalidTimes ===
=== InvalidTimes ===
Time types that will cause the actor not to spawn.
Time types that will cause the actor not to spawn.
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Time name (e.g. Morning_B)
| {{AampIndexedParam|key=Item%03d|start_idx=1}}  
| str64  
| Time name (e.g. Morning_B)
|}
|}


=== DisplayDistance ===
=== DisplayDistance ===
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| Item || float || Maximum distance to player (actor will despawn if the distance is greater than this value)
| Item  
| float  
| Maximum distance to player (actor will despawn if the distance is greater than this value)
|}
|}


=== AutoDisplayDistanceAlgorithm ===
=== AutoDisplayDistanceAlgorithm ===
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| Item || str || Distance calculation algorithm (only "Bounding.Y" is supported {{check}})
| Item  
| str  
| Distance calculation algorithm (only "Bounding.Y" is supported {{check}})
|}
|}


=== YLimitAlgorithm ===
=== YLimitAlgorithm ===
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| Item || str || Limit type ("NoLimit" or "LimitYDiff" {{check}})
| Item  
| str  
| Limit type ("NoLimit" or "LimitYDiff" {{check}})
|}
|}


=== DeleteWeathers ===
=== DeleteWeathers ===
Weathers that will cause the actor to despawn.
Weathers that will cause the actor to despawn.
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Weather name (e.g. HeavyRain)
| {{AampIndexedParam|key=Item%03d|start_idx=1}}  
| str64  
| Weather name (e.g. HeavyRain)
|}
|}


=== DeleteTimes ===
=== DeleteTimes ===
Time types that will cause the actor to despawn.
Time types that will cause the actor to despawn.
{|class="wikitable"
{| class="wikitable"
! Key !! Type !! Description
! Key  
! Type  
! Description
|-
|-
| {{AampIndexedParam|key=Item%03d|start_idx=1}} || str64 || Time name (e.g. Noon_A)
| {{AampIndexedParam|key=Item%03d|start_idx=1}}  
| str64  
| Time name (e.g. Noon_A)
|}
|}


== Examples ==
== Examples ==
=== Landmark10km ===
=== Landmark10km ===
<source lang="yaml">
<source lang="yaml">
Line 90: Line 121:
[[Category:File extensions]]
[[Category:File extensions]]
[[Category:File extensions (AAMP)]]
[[Category:File extensions (AAMP)]]
[[Category:Actor paramater files]]

Navigation menu