Difference between revisions of "ActorValue"

538 bytes added ,  12:13, 24 January 2017
imported>Quetzilla
(→‎User Defined Actor Values: notes on variables in use and how to use them anyway.)
imported>Pintocat
 
(6 intermediate revisions by 5 users not shown)
Line 28: Line 28:
=='''User Defined Actor Values'''==
=='''User Defined Actor Values'''==
There are ten user defined actor values. They have no defined game functions, but can be used by quests to establish permanent data on the actor. Keep in mind that setting one of the variables on an actor implicitly defines that variable for all actors.
There are ten user defined actor values. They have no defined game functions, but can be used by quests to establish permanent data on the actor. Keep in mind that setting one of the variables on an actor implicitly defines that variable for all actors.
Using these values to store extra information has the potential to cause conflicts with other mods.  If you need to store information on an actor, use a token (an unplayable, therefore invisible, piece of armour) instead. If for very, very specific reasons you must use an AV, record it here.


*'''Variable01'''
*'''Variable01'''
Line 38: Line 40:
** Evergreen Mills slave script
** Evergreen Mills slave script
** CG04 guard packages
** CG04 guard packages
** Super Mutant captives
*'''Variable03'''
*'''Variable03'''
**Used by vendors to initiate following the player if he goes into back rooms, etc.
**Used by vendors to initiate following the player if he goes into back rooms, etc.
Line 47: Line 50:
*'''Variable07'''
*'''Variable07'''
** LenfantMutantMoveScript
** LenfantMutantMoveScript
:The one script that uses this AV can be changed very easily.  Look up:
:The game only uses this actor variable on one placed creature (the Mutant referenced above).
:'''Activator''' - LenfantOutcastWalkTrigger (Linked Ref that stats the Variable07 AV)
:'''Placed Creature''' - LenfantLvlSupermutantBigGuns (used in condition for Linked Ref AI Package)
*'''Variable08'''
*'''Variable08'''
*'''Variable09'''
*'''Variable09'''
Line 56: Line 57:
*'''Variable10'''
*'''Variable10'''
** Water beggars
** Water beggars
:The beggars are the only ones using the variable, so it can safely be used on any other actor.  Setting it to 2 on the beggars themselves will kill them immediately.
** Player addiction
:Setting it to 2 on the beggars will kill them immediately.
 
=='''Mod Usage'''==
*'''Variable01'''
*'''Variable02'''
*'''Variable03'''
*'''Variable04'''
*'''Variable05'''
*'''Variable06'''
**Mart's Mutant Mod uses Var06 for tracking Increased Spawns, on NPCs only.
*'''Variable07'''
**Impervious Power Armour uses Var07 for tracking Damage Reduction on PCs and NPCs.
*'''Variable08'''
**Impervious Power Armour uses Var08 for tracking Damage Reduction on PCs and NPCs.
*'''Variable09'''
*'''Variable10'''


=='''See Also'''==
=='''See Also'''==
[[Actor_Value_Codes]]<br>
[[Stats List]]<br>
[[Stats List]]<br>
[[DamageActorValue]]<br>
[[DamageActorValue]]<br>
Anonymous user