Quote: "I shoot at someone or something nothing happens"
Oh, I know why this is happening, I'll post a fix later tomorrow, got a bit of work tonight.
EDIT: Fixed, name all enemies, enemy, and here is the new third person script
;Requires Project Blue
;Original by Plystire
;Edited by ZeZa
;Artificial Intelligence Script
;Header
desc = Third Person Test
;Triggers
;///// Note: Run is functional, but looks akward, may revisit later \\\\\
;///// Load up HUD and SpyBot camera, Bind the camera to the SpyBot entity \\
;///// Dim variables necessary \\
:state=0:makecamera=SpyBotCam,bindcamtoentity=SpyBotCam,offsetcamy=SpyBotCam 80,offsetcamfore=SpyBotCam -95,offsetcamx=SpyBotCam 0
:state=0:dimvar=TempY,setvar=TempY $EAY,dimvar=TempX,dimvar=Height,setvar=Height 80,dimvar=ZoomHeight
:state=0:animate=1,state=1,etimerstart
:always:settargetname=enemy
;///// If player activates SpyBot, then disable plr input through startmenu
;///// hide the spy bot, and view through the spybot camera
:state=1,etimergreater=1:plrfreeze=9999999,startmenu,viewcam=SpyBotCam,state=2
;///// Hide The Player HUDs \\
:state=2:hudunshow=PlrLives,hudunshow=PlrLivesNum,hudunshow=PlrHealth,hudunshow=PlrHealthNum,hudunshow=GunPic,hudunshow=PlrAmmo,hudunshow=PlrArmor,hudunshow=PlrArmorNum,hudunshow=PlrMoney,hudunshow=PlrMoneyNum,reloadweapon,state=3
;///// Make spy bot move forward, backward and strafe \\
:state=3:setanimspeed=100
:state=3,keypressed=17 0,keypressed=30 0,keypressed=32 0,keypressed=31 0,keypressed=200 0,keypressed=203 0,keypressed=205 0,keypressed=208 0,plrusingrun=0:animate=1
:state=3,keypressed=17 1,keypressed=30 0,keypressed=32 0,plrusingrun=1:runfore=20,animate=5,setanimspeed=125
:state=3,keypressed=17 1,keypressed=30 0,keypressed=32 0,plrusingrun=0:movefore=3,animate=2
:state=3,keypressed=200 1,keypressed=203 0,keypressed=205 0,plrusingrun=1:runfore=20,animate=5,setanimspeed=125
:state=3,keypressed=200 1,keypressed=203 0,keypressed=205 0,plrusingrun=0:movefore=3,animate=2
:state=3,keypressed=31 1,keypressed=30 0,keypressed=32 0,plrusingrun=1:runfore=-20,animate=5,setanimspeed=-125
:state=3,keypressed=31 1,keypressed=30 0,keypressed=32 0,plrusingrun=0:movefore=-3,animate=2,setanimspeed=-100
:state=3,keypressed=208 1,keypressed=203 0,keypressed=205 0,plrusingrun=1:runfore=-20,animate=5,setanimspeed=-125
:state=3,keypressed=208 1,keypressed=203 0,keypressed=205 0,plrusingrun=0:movefore=-3,animate=2,setanimspeed=-100
:state=3,keypressed=30 1,keypressed=17 0,keypressed=31 0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,animate=3
:state=3,keypressed=203 1,keypressed=200 0,keypressed=208 0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,animate=3
:state=3,keypressed=32 1,keypressed=17 0,keypressed=31 0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,animate=4
:state=3,keypressed=205 1,keypressed=200 0,keypressed=208 0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,animate=4
:state=3,keypressed=17 1,keypressed=30 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=20,animate=5,setanimspeed=75
:state=3,keypressed=17 1,keypressed=30 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=3,animate=2
:state=3,keypressed=17 1,keypressed=32 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=20,animate=5,setanimspeed=75
:state=3,keypressed=17 1,keypressed=32 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=3,animate=2
:state=3,keypressed=200 1,keypressed=203 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=20,animate=5,setanimspeed=75
:state=3,keypressed=200 1,keypressed=203 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=3,animate=2
:state=3,keypressed=200 1,keypressed=205 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=20,animate=5,setanimspeed=75
:state=3,keypressed=200 1,keypressed=205 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=3,animate=2
:state=3,keypressed=31 1,keypressed=30 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-20,animate=5,setanimspeed=-75
:state=3,keypressed=31 1,keypressed=30 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-3,animate=2,setanimspeed=-100
:state=3,keypressed=31 1,keypressed=32 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-20,animate=5,setanimspeed=-75
:state=3,keypressed=31 1,keypressed=32 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-3,animate=2,setanimspeed=-100
:state=3,keypressed=208 1,keypressed=203 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-20,animate=5,setanimspeed=-75
:state=3,keypressed=208 1,keypressed=203 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-3,animate=2,setanimspeed=-100
:state=3,keypressed=208 1,keypressed=205 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-20,animate=5,setanimspeed=-75
:state=3,keypressed=208 1,keypressed=205 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-3,animate=2,setanimspeed=-100
:state=3,keypressed=46 1:state=7,animate=31,setvar=Height 65,offsetcamy=SpyBotCam %Height
:state=7,keypressed=46 0:state=5
:state=3,mouseclick=1,ifweapon=1:useweapon,rundecal=6
:state=3,mouseclick=1,ifweapon=0:state=4,setframe=6
:state=3,keypressed=19 1:state=4,setframe=6
:state=4:incframe=6
:state=4,frameatend=6:state=3,reloadweapon,sound=audiobank\guns\reload.wav
;///// Crouch control \\\\\
:state=5:setanimspeed=100
:state=5,keypressed=17 0,keypressed=30 0,keypressed=32 0,keypressed=31 0,keypressed=200 0,keypressed=203 0,keypressed=205 0,keypressed=208 0:animate=31
:state=5,keypressed=17 1,keypressed=30 0,keypressed=32 0,plrusingrun=1:runfore=20,animate=35,setanimspeed=125
:state=5,keypressed=17 1,keypressed=30 0,keypressed=32 0,plrusingrun=0:movefore=3,animate=32
:state=5,keypressed=200 1,keypressed=203 0,keypressed=205 0,plrusingrun=1:runfore=20,animate=35,setanimspeed=125
:state=5,keypressed=200 1,keypressed=203 0,keypressed=205 0,plrusingrun=0:movefore=3,animate=32
:state=5,keypressed=31 1,keypressed=30 0,keypressed=32 0,plrusingrun=1:runfore=-20,animate=35,setanimspeed=-125
:state=5,keypressed=31 1,keypressed=30 0,keypressed=32 0,plrusingrun=0:movefore=-3,animate=32,setanimspeed=-100
:state=5,keypressed=208 1,keypressed=203 0,keypressed=205 0,plrusingrun=1:runfore=-20,animate=35,setanimspeed=-125
:state=5,keypressed=208 1,keypressed=203 0,keypressed=205 0,plrusingrun=0:movefore=-3,animate=32,setanimspeed=-100
:state=5,keypressed=30 1,keypressed=17 0,keypressed=31 0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,animate=33
:state=5,keypressed=203 1,keypressed=200 0,keypressed=208 0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,animate=33
:state=5,keypressed=32 1,keypressed=17 0,keypressed=31 0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,animate=34
:state=5,keypressed=205 1,keypressed=200 0,keypressed=208 0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,animate=34
:state=5,keypressed=17 1,keypressed=30 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=20,animate=35,setanimspeed=75
:state=5,keypressed=17 1,keypressed=30 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=3,animate=32
:state=5,keypressed=17 1,keypressed=32 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=20,animate=35,setanimspeed=75
:state=5,keypressed=17 1,keypressed=32 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=3,animate=32
:state=5,keypressed=200 1,keypressed=203 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=20,animate=35,setanimspeed=75
:state=5,keypressed=200 1,keypressed=203 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=3,animate=32
:state=5,keypressed=200 1,keypressed=205 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=20,animate=35,setanimspeed=75
:state=5,keypressed=200 1,keypressed=205 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=3,animate=32
:state=5,keypressed=31 1,keypressed=30 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-20,animate=35,setanimspeed=-75
:state=5,keypressed=31 1,keypressed=30 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-3,animate=32,setanimspeed=-100
:state=5,keypressed=31 1,keypressed=32 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-20,animate=35,setanimspeed=-75
:state=5,keypressed=31 1,keypressed=32 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-3,animate=32,setanimspeed=-100
:state=5,keypressed=208 1,keypressed=203 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-20,animate=35,setanimspeed=-75
:state=5,keypressed=208 1,keypressed=203 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY -90,entityangley=%TempY,movefore=4,addvar=TempY 90,entityangley=%TempY,movefore=-3,animate=32,setanimspeed=-100
:state=5,keypressed=208 1,keypressed=205 1,plrusingrun=1:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-20,animate=35,setanimspeed=-75
:state=5,keypressed=208 1,keypressed=205 1,plrusingrun=0:setvar=TempY $EAY,addvar=TempY 90,entityangley=%TempY,movefore=4,addvar=TempY -90,entityangley=%TempY,movefore=-3,animate=32,setanimspeed=-100
:state=5,keypressed=46 1:state=8,animate=1,setvar=Height 80,offsetcamy=SpyBotCam %Height
:state=8,keypressed=46 0:state=3
:state=5,mouseclick=1,ifweapon=1:useweapon,rundecal=6
:state=5,mouseclick=1,ifweapon=0:state=6,setframe=36
:state=5,keypressed=19 1:state=6,setframe=36
:state=6:incframe=36
:state=6,frameatend=36:state=5,reloadweapon,sound=audiobank\guns\reload.wav
;///// Make spy bot cam look around based on Q and E keys
:state=3,keypressed=16 1:addvar=TempY -1,entityangley=%TempY
:state=3,keypressed=18 1:addvar=TempY 1,entityangley=%TempY
:state=5,keypressed=16 1:addvar=TempY -1,entityangley=%TempY
:state=5,keypressed=18 1:addvar=TempY 1,entityangley=%TempY
;///// Make spy bot cam look around based on mouse movement \\
:state=3:setvar=TempY $MMX,divvar=TempY 7,addvar=TempY $EAY
;:state=3:setvar=TempX $MMY,divvar=TempX 7,addvar=TempX $EAX
:state=3:entityanglex=%TempX,entityangley=%TempY
:state=5:setvar=TempY $MMX,divvar=TempY 7,addvar=TempY $EAY
;:state=5:setvar=TempX $MMY,divvar=TempX 7,addvar=TempX $EAX
:state=5:entityanglex=%TempX,entityangley=%TempY
;///// Zoom in test \\\\\
:keypressed=33 1:offsetcamfore=SpyBotCam -30,offsetcamx=SpyBotCam -10,setvar=ZoomHeight %Height,subvar=ZoomHeight 17,offsetcamy=SpyBotCam %ZoomHeight
:keypressed=33 0:offsetcamfore=SpyBotCam -95,offsetcamx=SpyBotCam 0,offsetcamy=SpyBotCam %Height
;End of Script
I'd change the world, but I don't have the source code
R.I.P. heltor, we will miss you