Yes, me again.
And yes, again a recloring problem.
Now that i know how to get the value, i am still doing SOMETHING wrong, but i have absolutely no idea what it could be! D:
I tried many, many things, but i just can't seem to fix it.
Please tell me, what is wrong here:
function Zombie::onAdd(%this,%obj)
{
parent::onAdd(%this,%obj);
ZombieDefault::onAdd(%this,%obj);
//%obj.mountimage(rocketlauncherimage,0);
if(%obj.getClassName() $= "AIPlayer" && isObject(%brick = %obj.spawnBrick))
{
if(%obj.spawnbrick.ReColorVehicle == 1)
{
%obj.schedule(100,setnodeColor,"ALL",%obj.getDataBlock().skinColor);
}
}
}