Difference between revisions of "ActorBase Script"
Jump to navigation
Jump to search
→Member Functions
imported>SLiesegang |
imported>Jog |
||
Line 19: | Line 19: | ||
== Member Functions == | == Member Functions == | ||
'''Class Function [[GetClass - ActorBase|GetClass]]()''' | |||
*Returns this actor's class. | |||
'''int Function [[GetDeadCount - ActorBase|GetDeadCount]]()''' | |||
*Returns the number of actors that have this base that are dead. | |||
'''FormList Function [[GetGiftFilter - ActorBase|GetGiftFilter]]()''' | |||
*Returns this actor's formlist of keywords to use as a gift filter. | |||
'''Race Function [[GetRace - ActorBase|GetRace]]()''' | |||
*Returns this actor's race. | |||
'''int Function [[GetSex - ActorBase|GetSex]]()''' | |||
*Returns this actor's sex. | |||
'''bool Function [[IsEssential - ActorBase|IsEssential]]()''' | |||
*Returns if this actor is flagged as essential or not. | |||
'''bool Function [[IsInvulnerable - ActorBase|IsInvulnerable]]()''' | |||
*Returns if this actor is flagged as invulnerable or not. | |||
'''bool Function [[IsProtected - ActorBase|IsProtected]]()''' | |||
*Returns if this actor is flagged as protected or not. | |||
'''bool Function [[IsUnique - ActorBase|IsUnique]]()''' | |||
*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 == |