-
Posts
2 -
Joined
-
Last visited
Reputation
0 NeutralProfile Information
-
About me
Curious George
-
[1.3] kOS Scriptable Autopilot System v1.1.3.0
Leralite replied to erendrake's topic in KSP1 Mod Releases
Thanks @Chabadarl , that was exactly what i was trying to get to. Much appreciated. Thanks for your answer aswell @hvacengi, though in this case i'm precisely looking for that one to one relationship. -
Leralite changed their profile photo
-
[1.3] kOS Scriptable Autopilot System v1.1.3.0
Leralite replied to erendrake's topic in KSP1 Mod Releases
I'm trying to write code to move IR Servos individually, by reading the documentation i got the following working: for s in ADDONS:IR:ALLSERVOS { if (s:name = "LegA1L") { s:moveleft(). } } But i'd like to know how to target a Servo directly by it's name, instead of scanning through all of them. Edit: I did figure out this instruction: addons:ir:allservos[1]:moveleft(). How can i do this by addressing the servo by it's name instead of [1]?