Attempting to run this under Zandronum:
Code: Select all
actor ai_destroyer 20000
{
	radius 32
	height 32
	+NOGRAVITY
	+SOLID
	+SLIDESONWALLS
	Monster
	
	health 9999
	
	states
	{
		Spawn:
			NULA A 2 A_Look
		See:
			NULA A 0
			NULA A 0 A_JumpIfInTargetLOS("Freeze", 90)
			NULA AB 2 ThrustThing(angle*256/360, 3, 0, 0)
			NULA B 0 A_PlaySound("weapons/pistol", CHAN_AUTO)
			NULA B 0 A_Chase
			NULA CDEFGHIJK 2 A_FaceTarget
			NULA LM 2 ThrustThing(angle*256/360, 3, 0, 0)
			NULA NOPQRST 2 A_FaceTarget
			goto See
		Freeze:
			NULA A 10
			goto See
	}
}Script error, "TotalChaos.pk3:actors/ai_destroyer/actions.txt" line 18:
Invalid state parameter a_jumpifintargetlos
It works under GZDoom, but unfortunately, it doesn't seem to be running the latest tweaks to fix the copy'n'paste JumpIfInTargetLOS/JumpIfTargetInLOS (they do the same thing, I'm assuming this by this thread: http://forum.zdoom.org/viewtopic.php?f=2&t=27014)
Currently running 1.0-alpha.
Anyone know of any good alternatives? I'm trying to make a monster that freezes when the player looks at them.
Thanks,
Wad'a'Holic
