Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
NPCData () | |
Public Member Functions inherited from AC.RememberData | |
RememberData () | |
A data container used by the RememberNPC script.
AC.NPCData.NPCData | ( | ) |
The default Constructor.
int AC.NPCData.customSortingMapID = 0 |
The ConstantID number of the SortingMap that the NPC's FollowSortingMap follows, if not the scene's default
int AC.NPCData.displayLineID |
float AC.NPCData.followDistance = 0f |
The distance that the NPC keeps with when following its target
float AC.NPCData.followDistanceMax = 0f |
The maximum distance that the NPC keeps when following its target
bool AC.NPCData.followFaceWhenIdle = false |
If True, the NPC will face their follow target when idle
float AC.NPCData.followFrequency = 0f |
The frequency with which the NPC follows its target
bool AC.NPCData.followRandomDirection = false |
If True, the NPC will stand a random direction from their target
bool AC.NPCData.followSortingMap |
True if the NPC has a FollowSortingMap component that follows the scene's default SortingMap
int AC.NPCData.followTargetID = 0 |
The Constant ID number of the NPC's follow target
bool AC.NPCData.followTargetIsPlayer = false |
True if the NPC is following the player
int AC.NPCData.headTargetID = 0 |
The ConstantID number of the head target Transform
float AC.NPCData.headTargetX = 0f |
The NPC's head target's X position (offset)
float AC.NPCData.headTargetY = 0f |
The NPC's head target's Y position (offset)
float AC.NPCData.headTargetZ = 0f |
The NPC's head target's Z position (offset)
string AC.NPCData.idleAnim |
The NPC's idle animation
bool AC.NPCData.inCustomCharState = false |
If True, the NPC is playing a custom animation
bool AC.NPCData.isHeadTurning = false |
True if the NPC's head is pointed towards a target
bool AC.NPCData.isOn |
True if the NPC is enabled
bool AC.NPCData.isRunning |
True if the NPC is running
int AC.NPCData.lastPathID |
The Constant ID number of the NPC's last-used Path
int AC.NPCData.lastPrevNode |
The previous node number of the NPC's last-used Path
int AC.NPCData.lastTargetNode |
The target node number of the NPC's last-used Path
string AC.NPCData.leftHandIKState |
Data related to the character's left hand Ik state
bool AC.NPCData.lockDirection |
True if a sprite-based NPC is locked to face a particular direction
bool AC.NPCData.lockScale |
True if a sprite-based NPC has its scale locked
bool AC.NPCData.lockSorting |
True if a sprite-based NPC has its sorting locked
float AC.NPCData.LocX |
The X position
float AC.NPCData.LocY |
The Y position
float AC.NPCData.LocZ |
The Z position
bool AC.NPCData.pathAffectY |
True if the NPC's current Path affects the Y position
string AC.NPCData.pathData |
The positions of each node in a pathfinding-generated Path
int AC.NPCData.pathID |
The Constant ID number of the NPC's current Path
string AC.NPCData.portraitGraphic |
A unique identifier for the NPC's portrait graphic
int AC.NPCData.prevNode |
The previous node number of the NPC's current Path
string AC.NPCData.rightHandIKState |
Data related to the character's right hand Ik state
float AC.NPCData.RotX |
The X rotation
float AC.NPCData.RotY |
The Y rotation
float AC.NPCData.RotZ |
The Z rotation
string AC.NPCData.runAnim |
The NPC's run animation
string AC.NPCData.runSound |
A unique identifier for the NPC's run sound AudioClip
float AC.NPCData.runSpeed |
The NPC's run speed
float AC.NPCData.ScaleX |
The X scale
float AC.NPCData.ScaleY |
The Y scale
float AC.NPCData.ScaleZ |
The Z scale
string AC.NPCData.sortingLayer |
The sorting layer of a sprite-based NPC
int AC.NPCData.sortingOrder |
The sorting order of a sprite-based NPC
string AC.NPCData.speechLabel |
The NPC's display name
string AC.NPCData.spriteDirection |
The direction that a sprite-based NPC is facing
string AC.NPCData.spriteDirectionData |
Data related to the character's available sprite directions
float AC.NPCData.spriteScale |
The scale of a sprite-based NPC
string AC.NPCData.talkAnim |
The NPC's talk animation
int AC.NPCData.targetNode |
The target node number of the NPC's current Path
string AC.NPCData.walkAnim |
The NPC's walk animation
string AC.NPCData.walkSound |
A unique identifier for the NPC's walk sound AudioClip
float AC.NPCData.walkSpeed |
The NPC's walk speed