Hello!
Right, I'm not cleared on how this kind of stuff works, I was wondering if someone can help me what can I do to make stuff like this happen, see this code for an example:-
As you see of what I'm trying to do is.. that Carcass accesses the CarcassClass and only do stuff AT the carcassclass, which is carcass, but those specific classes on the CarcassClass on defaultproperties ONLY.. This code isn't legitimate, it's just kinda an example.. to try explain what I need..
So anyway, help anyone, please? thanks!
Right, I'm not cleared on how this kind of stuff works, I was wondering if someone can help me what can I do to make stuff like this happen, see this code for an example:-
Code:
Var() class<DeusExCarcass> CarcassClass[32];
var DeusExCarcass Carcass;
var() config bool bIsOn;
function Tick(float deltaTime)
{
local int i;
if(bIsOn)
{
if(CarcassClass[i] != None)
{
foreach allActors(class'DeusExCarcass',Carcass)
{
Carcass(CarcassClass[i]).bQueuedDestroy = False;
}
}
}
Super.Tick(deltaTime);
}
defaultproperties
{
CarcassClass(0)=Class'KarkianCarcass'
CarcassClass(1)=Class'KarkianBabyCarcass'
CarcassClass(1)=Class'GreaselCarcass'
}
As you see of what I'm trying to do is.. that Carcass accesses the CarcassClass and only do stuff AT the carcassclass, which is carcass, but those specific classes on the CarcassClass on defaultproperties ONLY.. This code isn't legitimate, it's just kinda an example.. to try explain what I need..
So anyway, help anyone, please? thanks!
Last edited: