Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
getlink master 0
sensor x master @shootX
sensor y master @shootY
sensor shoot master @shooting
set turretnum 1
getlink turret turretnum
op add turretnum turretnum 1
control shoot turret x y shoot 0
jump 5 lessThan turretnum @links
Bind the turret that you posses to control all of them first, then the ones that copy afterwards.
If you want all selected turrets to copy a player within range of the turret with the longest range use this:
getlink master 0
radar ally player any distance master 1 player
sensor x player @shootX
sensor y player @shootY
sensor shoot player @shooting
control shoot master x y shoot 0
set turretnum 1
getlink turret turretnum
op add turretnum turretnum 1
control shoot turret x y shoot 0
jump 7 lessThan turretnum @links
Bind the turret that has the most desireable range first, then all others second.
If you want each turret to copy the nearest detectable player independantly from others use this:
getlink turret 0
radar ally player any distance turret1 1 player
sensor x player @shootX
sensor y player @shootY
sensor shoot player @shooting
control shoot turret x y shoot 0
Simply bind the turret you wish to copy you.