Sphagne
May 3rd, 2001, 09:18 PM
I wanted to test some ZDoom scripts, so:
I designed a cubic room with a raised box in the middle.
I added a Player 1 object in the room and a Red fountain over the box.
Then I added a MapSpot over the fountain and some scripts to throw out some imp fireballs from that spot to around the room.
The level hanged. http://forums.newdoom.com/ubb/smilies/cwm10.gif
What have I done wrong, please?
The script? It`s here:
#include "zcommon.acs"
script 100 open
{
delay(const:4);
Thing_ProjectileGravity (0,T_IMPFIREBALL, random(const:0,255), random(const:10,40), random(const:10,40));
}
I designed a cubic room with a raised box in the middle.
I added a Player 1 object in the room and a Red fountain over the box.
Then I added a MapSpot over the fountain and some scripts to throw out some imp fireballs from that spot to around the room.
The level hanged. http://forums.newdoom.com/ubb/smilies/cwm10.gif
What have I done wrong, please?
The script? It`s here:
#include "zcommon.acs"
script 100 open
{
delay(const:4);
Thing_ProjectileGravity (0,T_IMPFIREBALL, random(const:0,255), random(const:10,40), random(const:10,40));
}