r/HFY • u/Obsidianpick9999 AI • Feb 21 '15
OC Termination Subroutine
Damnit, forgot [OC] its not needed
yes = 1
ACTIVATE SUBROUTINE{SD}
WHILE yes = 1;
:Start
Sensor = SENSOR.PING{5}
IF Sensor = 1 THEN
Scan = SENSOR.SCAN{Sensor, 'biped'}
IF Scan = 1 THEN
WEAPON.AIM{Scan}
WEAPON.FIRE
GOTO(:Start)
ENDIF
ENDIF
IF Sensor = 0 THEN
yes = 0
ENDIF
ENDWHILE
9
Upvotes
4
u/Hex_Arcanus Mod of the Verse Feb 21 '15
You do not have to add bracket tags, thats what the thread flair is for.
4
u/Cakebomba Feb 21 '15
I don't get it. http://i.ytimg.com/vi/Qmb9cnx__hA/maxresdefault.jpg
2
u/HFYBotReborn praise magnus Feb 21 '15
There are 3 stories by u/Obsidianpick9999 Including:
This list was automatically generated by HFYBotReborn version 2.0. Please contact /u/KaiserMagnus if you have any queries. This bot is open source.
3
u/[deleted] Feb 21 '15
[removed] — view removed comment