Page 1 of 1

Unsupported zDoom functionality?

Posted: Thu Mar 21, 2013 1:11 am
by RobbyPants
I'm working on modifying the Pain Elemental so that it makes zombies, and I don't want them shooting out at the player the same way that a Lost Soul does. Looking at the zDoom wiki, the third parameter in the A_PainAttack script does just that. However, when I attempt to run the file, it complains that it only wants one parameter (It says it's expecting a ')' but got ',').

Is there anything wrong with this line?

Code: Select all

PAIN F 1 Bright A_PainAttack("Zombie1", 0, PAF_NOSKULLATTACK, 0)
If I remove the other three parameters, it works fine, other than that the zombies go shooting across the screen.

RE: Unsupported zDoom functionality?

Posted: Thu Mar 21, 2013 1:28 am
by TheMisterCat
yeah, the extra parameters aren't supported yet. you're better off using A_SpawnItemEx if you want them to just drop down

RE: Unsupported zDoom functionality?

Posted: Thu Mar 21, 2013 6:29 pm
by RobbyPants
TheMisterCat wrote: yeah, the extra parameters aren't supported yet. you're better off using A_SpawnItemEx if you want them to just drop down
That looks very useful. Thank you! I'll have to test it out tonight.

RE: Unsupported zDoom functionality?

Posted: Thu Mar 21, 2013 8:44 pm
by TerminusEst13
Half the time in Zandronum modding is spent trying to replicate advanced ZDoom functions.

You're gonna have to get used to this, man. :p

RE: Unsupported zDoom functionality?

Posted: Fri Mar 22, 2013 2:12 am
by ibm5155
/\
Lol that´s true.