Difference between revisions of "ActorBase Script"

Jump to navigation Jump to search
64 bytes added ,  12:39, 20 February 2012
imported>SLiesegang
 
imported>Jog
Line 19: Line 19:


== Member Functions ==
== Member Functions ==
*Class Function [[GetClass - ActorBase|GetClass]]()
'''Class Function [[GetClass - ActorBase|GetClass]]()'''
**Returns this actor's class.
*Returns this actor's class.
*int Function [[GetDeadCount - ActorBase|GetDeadCount]]()
 
**Returns the number of actors that have this base that are dead.
'''int Function [[GetDeadCount - ActorBase|GetDeadCount]]()'''
*FormList Function [[GetGiftFilter - ActorBase|GetGiftFilter]]()
*Returns the number of actors that have this base that are dead.
**Returns this actor's formlist of keywords to use as a gift filter.
 
*Race Function [[GetRace - ActorBase|GetRace]]()
'''FormList Function [[GetGiftFilter - ActorBase|GetGiftFilter]]()'''
**Returns this actor's race.
*Returns this actor's formlist of keywords to use as a gift filter.
*int Function [[GetSex - ActorBase|GetSex]]()
 
**Returns this actor's sex.
'''Race Function [[GetRace - ActorBase|GetRace]]()'''
*bool Function [[IsEssential - ActorBase|IsEssential]]()
*Returns this actor's race.
**Returns if this actor is flagged as essential or not.
 
*bool Function [[IsInvulnerable - ActorBase|IsInvulnerable]]()
'''int Function [[GetSex - ActorBase|GetSex]]()'''
**Returns if this actor is flagged as invulnerable or not.
*Returns this actor's sex.
*bool Function [[IsProtected - ActorBase|IsProtected]]()
 
**Returns if this actor is flagged as protected or not.
'''bool Function [[IsEssential - ActorBase|IsEssential]]()'''
*bool Function [[IsUnique - ActorBase|IsUnique]]()
*Returns if this actor is flagged as essential or not.
**Returns if this actor is flagged as unique.
 
*Function [[SetEssential - ActorBase|SetEssential]](bool abEssential)
'''bool Function [[IsInvulnerable - ActorBase|IsInvulnerable]]()'''
**Flags this actor as essential or not. An actor cannot both be protected and essential.
*Returns if this actor is flagged as invulnerable or not.
*Function [[SetInvulnerable - ActorBase|SetInvulnerable]](bool abInvulnerable)
 
**Flags this actor as invulnerable or not.
'''bool Function [[IsProtected - ActorBase|IsProtected]]()'''
*Function [[SetProtected - ActorBase|SetProtected]](bool abProtected)
*Returns if this actor is flagged as protected or not.
**Flags this actor as protected or not. An actor cannot both be protected and essential.
 
*Function [[SetOutfit - ActorBase|SetOutfit]](Outfit akOutfit,bool abSleepOutfit)
'''bool Function [[IsUnique - ActorBase|IsUnique]]()'''
**Change the default or sleep outfit. Art will be loaded next time this actor is loaded.
*Returns if this actor is flagged as unique.
 
'''Function [[SetEssential - ActorBase|SetEssential]](bool abEssential)'''
*Flags this actor as essential or not. An actor cannot both be protected and essential.
 
'''Function [[SetInvulnerable - ActorBase|SetInvulnerable]](bool abInvulnerable)'''
*Flags this actor as invulnerable or not.
 
'''Function [[SetProtected - ActorBase|SetProtected]](bool abProtected)'''
*Flags this actor as protected or not. An actor cannot both be protected and essential.
 
'''Function [[SetOutfit - ActorBase|SetOutfit]](Outfit akOutfit,bool abSleepOutfit)'''
*Change the default or sleep outfit. Art will be loaded next time this actor is loaded.


== Events ==
== Events ==
Anonymous user

Navigation menu