Search found 5 matches

by LHOANWG
Mon Apr 02, 2018 2:01 pm
Forum: Lua Legion
Topic: Add/Removing Data/Comm Links through LUA?
Replies: 9
Views: 300

RE: Add/Removing Data/Comm Links through LUA?

Right now I'm mostly developing unique Special Actions for future use in scenarios. So I'm just exploring how I can accomplish things through Lua.
by LHOANWG
Mon Apr 02, 2018 1:47 pm
Forum: Lua Legion
Topic: Add/Removing Data/Comm Links through LUA?
Replies: 9
Views: 300

RE: Add/Removing Data/Comm Links through LUA?

Ah, it was the ":" that I was not using. Lua syntax calls methods differently apparently. Thanks for the help!
by LHOANWG
Mon Apr 02, 2018 1:01 pm
Forum: Lua Legion
Topic: Add/Removing Data/Comm Links through LUA?
Replies: 9
Views: 300

RE: Add/Removing Data/Comm Links through LUA?

I've tried a number of different forms including:
Unit.filterOnComponent('Sensor')
Unit.filterOnComponent(type='Sensor')
Unit.filterOnComponent({type='Sensor'})
...
and several other forms. Was looking for someone who has successfully used the method.
by LHOANWG
Mon Apr 02, 2018 12:23 pm
Forum: Lua Legion
Topic: Add/Removing Data/Comm Links through LUA?
Replies: 9
Views: 300

RE: Add/Removing Data/Comm Links through LUA?

that's a good work around. While we're on the topic, does anyone have any luck using the "filterOnComponent" method? Can't seem to get that to work. I am using it as a method of a Unit instance but maybe I am getting the input format wrong.
by LHOANWG
Mon Apr 02, 2018 9:14 am
Forum: Lua Legion
Topic: Add/Removing Data/Comm Links through LUA?
Replies: 9
Views: 300

Add/Removing Data/Comm Links through LUA?

This is this possible?

Go to advanced search