help, please (making enemies)

temor

i dream of werehog 2
ive suffered for a straight week and always ended up crying in my bed all because theres always a new problem with every single fix i do on my silly script

what am i doing wrong?:dramahog:

1679139904600.png


FREESLOT
MT_ATKPNT
S_ATKPNT
SPR_SPRK

Object MT_ATKPNT
MapThingNum = 3939
SpawnHealth = 9999
SpawnState = S_ATKPNT_STND
Radius = 16*FRACUNIT
Height = 48*FRACUNIT
State S_ATKPNT_STND
SpriteName = SPRKA
SpriteFrame = A
Duration = 1
Flags = MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE

State S_ATKPNT_STND
Duration = 1
SPRITENAME = SPRKA
SPRITEFRAME = A
Action A_Look
Next = S_ATKPNT_STND


im going insane
Post automatically merged:

I CANT GET RID OF THE LINE 13 ERROR AHGHRHRGAHGHHGRHRGHGRHRGHRG
 
ive suffered for a straight week and always ended up crying in my bed all because theres always a new problem with every single fix i do on my silly script

what am i doing wrong?:dramahog:

View attachment 87491

FREESLOT
MT_ATKPNT
S_ATKPNT
SPR_SPRK

Object MT_ATKPNT
MapThingNum = 3939
SpawnHealth = 9999
SpawnState = S_ATKPNT_STND
Radius = 16*FRACUNIT
Height = 48*FRACUNIT
State S_ATKPNT_STND
SpriteName = SPRKA
SpriteFrame = 0
Duration = 1
Flags = MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE

State S_ATKPNT_STND
Duration = 1
SPRITENAME = SPRKA
SPRITEFRAME = A
Action A_Look
Next = S_ATKPNT_STND


im going insane
Pretty sure SPRK already exists.
spritename = SPRKA cant be real, it should be just SPRK
you use S_ATKPNT_STND but you only freesloteed S_ATKPNT
there is no spritename in object
and probably more im forgetting about.
if you have problems just read the wiki again
 
Pretty sure SPRK already exists.
spritename = SPRKA cant be real, it should be just SPRK
you use S_ATKPNT_STND but you only freesloteed S_ATKPNT
there is no spritename in object
and probably more im forgetting about.
if you have problems just read the wiki again
i patched all of them and the literal stem of my problems was line 13, i deleted it and now my new problem is making it not disappear and instead act as an enemy that doesnt move
 
i patched all of them and the literal stem of my problems was line 13, i deleted it and now my new problem is making it not disappear and instead act as an enemy that doesnt move
Thats because it doesnt have a moving function? All it does is set its target to the first player it sees.
 
Thats because it doesnt have a moving function? All it does is set its target to the first player it sees.
ohhh
Post automatically merged:

its supposed to be just an object made for modern/werehog to aim and attack at so i didnt thought it needed any movement, guess i gotta need to read more especially since i literally just rush in without any plan
 

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top