Code: Select all
"Expecting identifier. File: c:\users\REDACTED\documents\REDACTED\scp - containment breach\source code\npcs.bb Line: 190, Column: 10"
v
Code: Select all
Case NPCtype096
n\Collider = CreatePivot()
EntityRadius n\Collider, 0.25
EntityType n\Collider, HIT_PLAYER
n\obj = LoadAnimMesh("GFX\npcs\scp096.b3d")
Local 096tex = LoadTexture("GFX\npcs\character_infected.jpg")
EntityTexture n\obj, 096tex
MeshCullBox (n\obj, -MeshWidth(n\obj)*2, -MeshHeight(n\obj)*2, -MeshDepth(n\obj)*2, MeshWidth(n\obj)*2, MeshHeight(n\obj)*4, MeshDepth(n\obj)*4)
n\Speed = (GetINIFloat("DATA\NPCs.ini", "SCP-096", "speed") / 100.0)
temp# = (GetINIFloat("DATA\NPCs.ini", "SCP-096", "scale") / 3.0)
ScaleEntity n\obj, temp, temp, temp