So after i made my first script i decided to tackle another idea. This idea will be if the enemy was shot in the head it would display a texture of the enemy with a bloody head
Etc. i have been using the shotdamagetype command and this is what i have so far
;Artificial Intelligence Script
;Header
;Made by:TGC
;Edited by:Tomahawk
desc = Activate ragdoll and leave as corpse + casualty increase and alt texture
;Triggers
:state=0:state=1,suspend,coloff,ragdoll,state=2
:state=2,shotdamagetype=1:alttexture=Program Files (x86)\The Game Creators\FPS Creator\Files\entitybank\ww2\characters\retextures\thug_1_D2shothead.dds
:state=2,shotdamagetype=2:alttexture=Program Files (x86)\The Game Creators\FPS Creator\Files\entitybank\ww2\characters\retextures\thug_1_D2shotbody.dds
:state=2,shotdamagetype=3:alttexture=Program Files (x86)\The Game Creators\FPS Creator\Files\entitybank\ww2\characters\retextures\thug_1_D2shotleftarm.dds
:state=2,shotdamagetype=4:alttexture=Program Files (x86)\The Game Creators\FPS Creator\Files\entitybank\ww2\characters\retextures\thug_1_D2shotrightarm.dds
:state=2,shotdamagetype=5:alttexture=Program Files (x86)\The Game Creators\FPS Creator\Files\entitybank\ww2\characters\retextures\thug_1_D2shotleftleg.dds
:state=2,shotdamagetype=6:alttexture=Program Files (x86)\The Game Creators\FPS Creator\Files\entitybank\ww2\characters\retextures\thug_1_D2shotrightleg.dds
;End of Script
This is for the stock thug, is there anything i missed or have to do with the character to make him able to use the shotdamagetype command
Thank you for any help