passable and not passable block

Posted By: LawnmowerMan

passable and not passable block - 07/01/10 20:26

I would like to create an invisible block in the game that would be unpassable only if var blocade_notpassable=1

I put some map entity in game with this example action

action invisible_blocade(){
my.invisible=on;
if (blocade_notpassable == 1){ my.passable=off;}
if (blocade_notpassable == 0){ my.passable=on;}
}

Why this not work, and how make this?
Posted By: Widi

Re: passable and not passable block - 07/01/10 20:43

Set all in a while(1) loop
Posted By: LawnmowerMan

Re: passable and not passable block - 07/01/10 23:11

Thanks Widi, work now!
© 2023 lite-C Forums