Greasel Problem

The best and quickest support by a group of top-notch editing specialists, guaranteed!

Moderator: Forum Guards

Greasel Problem

Postby atrey65789 » Sat May 19, 12 1:28 pm

function SpewBlood(vector Position)
{
local float size;
local FleshFragment chunk;

size = (CollisionRadius + CollisionHeight) / 2; // yes, we *are* using the Greasel's size... :)
if ((FRand() <0> 10.0))
{
chunk = spawn(class'FleshFragment', None,, Position);
if (chunk != None)
{
chunk.DrawScale = size / 25;
chunk.SetCollisionSize(chunk.CollisionRadius / chunk.DrawScale, chunk.CollisionHeight /
chunk.DrawScale);
chunk.bFixedRotationDir = True;
chunk.RotationRate = RotRand(False);
chunk.Velocity = VRand()*100;
chunk.Velocity.Z = chunk.Velocity.Z + 250;
}
}
else
[b]Super.SpewBlood(vector Position);[/b]
}


The bolded part is where it has trouble compiling,
It tells me that SpewBlood(); is an unknown function
even though its RIGHT THERE. lol..
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm

Postby ~DJ~ » Sat May 19, 12 1:47 pm

just remove it. The whole 'else super.spewblood();' thingie.

probably because the function doesn't exist in the super-class.
User avatar
~DJ~
Forum Super Hero
 
Posts: 3766
Joined: Tue May 22, 07 12:23 pm

Postby atrey65789 » Sat May 19, 12 2:03 pm

OHHH...yeah that fixed THAT problem, now I just gotta fix the others :P
-A
atrey65789
Regular
 
Posts: 400
Joined: Thu Dec 22, 11 3:02 pm


Return to Editing issues

Who is online

Users browsing this forum: No registered users and 7 guests
cron