Boomshire Blinker works now, Grass is visible again on StoneDoors

MimmoO 2010-10-25 20:31:58 +02:00
parent acf7c0d955
commit de7b4b5a61
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
public func ControlUp(object clonk)
{
if(GetEffect("SparklingAttention")) RemoveEffect("SparklingAttention");
if(GetEffect("SparklingAttention",this)) RemoveEffect("SparklingAttention",this);
if (GetAction() == "Still" && targetdoor)
{
targetdoor->OpenGateDoor();

View File

@ -11,11 +11,13 @@ protected func Initialize()
{
plants[GetLength(plants)]=CreateObject(Grass,-6,-15+i*5,NO_OWNER);
plants[GetLength(plants)-1]->SetR(-90);
plants[GetLength(plants)-1]->SetCategory(C4D_StaticBack);
}
for(var i=0; i<8; i++)
{
plants[GetLength(plants)]=CreateObject(Grass,+6,-15+i*5,NO_OWNER);
plants[GetLength(plants)-1]->SetR(+90);
plants[GetLength(plants)-1]->SetCategory(C4D_StaticBack);
}
SetAction("Door");