+NOABOVEWATER?
Moderator: GZDoom Developers
- solarsnowfall
- Posts: 1581
- Joined: Thu Jun 30, 2005 1:44 am
And what's wrong with True Space? For making doom sprites, it's more than enough.Kristus wrote:People still use truespace?
[edit] D'oh <sp>
Last edited by solarsnowfall on Mon Sep 12, 2005 7:14 pm, edited 1 time in total.
Would something like this not work? I am pretty sure it would for the most part. You just want the easy way out. Make sure to use acs_executealways! You might want to double check all that yourself before actually applying it 
EDIT: I have applied this script to my mod and it seems to work well

Code: Select all
int fish[3] = {1, 2, 3}; //Each fish has its own tid
int i = 0; //index counter
#define water_height -128 * 65536 //water limit, probably a good idea to be slightly lower than the actual fake floor, especially if there are terrain splashes
script 1 (void)
{
i=0;
while (i < 3)
{
if (getactorz(fish[i++]) >= water_height)
{
thrustthingz(fish[i - 1], 160, 1, 0);
}
}
delay(15);
i = 0;
while (i < 3)
{
if (thingcount(t_none, fish[i++]) > 0)
{
restart;
}
}
}