Blifecondition: Difference between revisions
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 | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| {{AampIndexedParam|key=Item%03d|start_idx=1}} | | {{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 | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| {{AampIndexedParam|key=Item%03d|start_idx=1}} | | {{AampIndexedParam|key=Item%03d|start_idx=1}} | ||
| str64 | |||
| Time name (e.g. Morning_B) | |||
|} | |} | ||
=== DisplayDistance === | === DisplayDistance === | ||
{|class="wikitable" | {| class="wikitable" | ||
! Key | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| Item | | Item | ||
| float | |||
| Maximum distance to player (actor will despawn if the distance is greater than this value) | |||
|} | |} | ||
=== AutoDisplayDistanceAlgorithm === | === AutoDisplayDistanceAlgorithm === | ||
{|class="wikitable" | {| class="wikitable" | ||
! Key | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| Item | | Item | ||
| str | |||
| Distance calculation algorithm (only "Bounding.Y" is supported {{check}}) | |||
|} | |} | ||
=== YLimitAlgorithm === | === YLimitAlgorithm === | ||
{|class="wikitable" | {| class="wikitable" | ||
! Key | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| Item | | 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 | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| {{AampIndexedParam|key=Item%03d|start_idx=1}} | | {{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 | ! Key | ||
! Type | |||
! Description | |||
|- | |- | ||
| {{AampIndexedParam|key=Item%03d|start_idx=1}} | | {{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]] |