im making a turret so when u go in front of the ranger the turret go's off
@name Auto Turret
@inputs Ranger
@outputs Fire
@persist
If (Ranger>=1) {Fire=1}
If (Ranger<=0) {Fire=0}
please tell me if this is right
That could work, however...
Code:
@name Auto Turret
@inputs Ranger
@outputs Fire
@persist
If (Ranger>=1) {Fire} else
{!Fire}
And I'm not completely sure that will work but I think it will.