|
Endstar LUA API Documentation
|
Used to configure a spawnable npc. More...
Public Member Functions | |
| NpcConfiguration () | |
| NpcConfiguration (NpcEntity npcEntity) | |
| NpcConfiguration (NetworkableNpcConfig networkableNpcConfig) | |
Public Attributes | |
| CharacterVisualsReference | NpcVisuals |
| NpcClassCustomizationData | NpcClass = NpcClassCustomizationDataUtility.GetDefaultClassCustomizationData(Endless.Gameplay.LuaEnums.NpcClass.Grunt) |
| The Npc Class. Defaults to Grunt.Endless.Gameplay.LuaEnums.NpcClass | |
| int | Health = 10 |
| The health of the spawned npc. Defaults to 10. | |
| int | CombatMode = (int)PropCombatMode.Aggressive |
| The default combat mode of the npc. Defaults to Aggressive.Endless.Gameplay.LuaEnums.PropCombatMode | |
| int | DamageMode = (int)Endless.Gameplay.LuaEnums.DamageMode.TakeDamage |
| The default damage mode of the npc. Defaults to TakeDamage.Endless.Gameplay.LuaEnums.PropDamageMode | |
| int | PhysicsMode = (int)Endless.Gameplay.LuaEnums.PhysicsMode.TakePhysics |
| The default physics mode of the npc. Defaults to TakePhysics.Endless.Gameplay.LuaEnums.PropPhysicsMode | |
| int | MovementMode = (int)PropMovementMode.Run |
| The default movement mode of the npc. Defaults to Run.Endless.Gameplay.LuaEnums.PropMovementMode | |
| int | IdleBehavior = (int)Endless.Gameplay.LuaEnums.IdleBehavior.Idle |
| The default idle behavior of the npc. Defaults to Idle.Endless.Gameplay.LuaEnums.IdleBehavior | |
| int | Team = (int)Endless.Gameplay.LuaEnums.Team.Team1 |
| The team of the npc. Defaults to Team1Endless.Gameplay.LuaEnums.Team | |
| int | PathfindingRange = (int)Endless.Gameplay.LuaEnums.PathfindingRange.Global |
| The pathfinding range of the npc. Defaults to Global.Endless.Gameplay.LuaEnums.PathfindingRange | |
| int | Group = (int)NpcGroup.A |
| The group of the npc is a part of. Defaults to A.Endless.Gameplay.LuaEnums.NpcGroup | |
| int | SpawnAnimation = (int)NpcSpawnAnimation.None |
| The spawn animation of the npc. Defaults to None. Endless.Gameplay.LuaEnums.NpcSpawnAnimation | |
Used to configure a spawnable npc.
| NpcConfiguration | ( | ) |
| NpcConfiguration | ( | NpcEntity | npcEntity | ) |
| NpcConfiguration | ( | NetworkableNpcConfig | networkableNpcConfig | ) |
| int CombatMode = (int)PropCombatMode.Aggressive |
The default combat mode of the npc. Defaults to Aggressive.Endless.Gameplay.LuaEnums.PropCombatMode
The default damage mode of the npc. Defaults to TakeDamage.Endless.Gameplay.LuaEnums.PropDamageMode
| int Group = (int)NpcGroup.A |
The group of the npc is a part of. Defaults to A.Endless.Gameplay.LuaEnums.NpcGroup
| int Health = 10 |
The health of the spawned npc. Defaults to 10.
The default idle behavior of the npc. Defaults to Idle.Endless.Gameplay.LuaEnums.IdleBehavior
| int MovementMode = (int)PropMovementMode.Run |
The default movement mode of the npc. Defaults to Run.Endless.Gameplay.LuaEnums.PropMovementMode
| NpcClassCustomizationData NpcClass = NpcClassCustomizationDataUtility.GetDefaultClassCustomizationData(Endless.Gameplay.LuaEnums.NpcClass.Grunt) |
The Npc Class. Defaults to Grunt.Endless.Gameplay.LuaEnums.NpcClass
| CharacterVisualsReference NpcVisuals |
The pathfinding range of the npc. Defaults to Global.Endless.Gameplay.LuaEnums.PathfindingRange
The default physics mode of the npc. Defaults to TakePhysics.Endless.Gameplay.LuaEnums.PropPhysicsMode
| int SpawnAnimation = (int)NpcSpawnAnimation.None |
The spawn animation of the npc. Defaults to None. Endless.Gameplay.LuaEnums.NpcSpawnAnimation
| int Team = (int)Endless.Gameplay.LuaEnums.Team.Team1 |
The team of the npc. Defaults to Team1Endless.Gameplay.LuaEnums.Team