Difference between revisions of "ActorValue"

516 bytes added ,  08:47, 2 July 2010
Adding an AV registry
imported>Cipscis
(Added note about using tokens instead of actor values to store extra information)
imported>Talkie Toaster
(Adding an AV registry)
Line 29: Line 29:
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.
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 59: Line 59:
** Player addiction
** Player addiction
:Setting it to 2 on the beggars will kill them immediately.
: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'''==