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
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
have you tried it alredy?
not yet but soon
That could work, however…
@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.
ok
I understand that you’re using this as practice, but it’s not needed at all. You could just wire the turret directly to the ranger.
[editline]01:04PM[/editline]
Expression 2 tutorials:
http://www.wiremod.com/forum/wiremod-tutorials/9766-e2-guide-wip.html
http://www.wiremod.com/forum/wiremod-tutorials/11041-spectres-expression-2-tutorial.html
ApplyForce tutorial:
http://www.wiremod.com/forum/wiremod-tutorials/10397-applyforce-applyoffsetforce-applyangforce-tutorial.html
The wiki:
[editline]01:06PM[/editline]
Why did you make a new thread? http://www.facepunch.com/showthread.php?t=786222
o sorry 0_0
[editline]12:39PM[/editline]
no it don’t work
[editline]12:44PM[/editline]
but replace {!Fire} With {Fire=0} and it will work
And Fire with Fire = 1
but if i do {Fire=1} it will always stay on right
Not if you put “else {Fire = 0}” after that.
ya
now i need help making an auto door
i need a link for wire door
and normal door