Micro AIs new question
Moderator: Forum Moderators
- Spannerbag
- Posts: 759
- Joined: December 18th, 2016, 6:14 pm
- Location: Yes
Re: Micro AIs new question
Brilliant - that's what I'd hoped; just wanted to be reassured that the lua environment knew about the addons relative path.Celtic_Minstrel wrote: ↑April 16th, 2025, 6:09 pm ... So yes, I'd use the full path to the file, relative to ~add-ons.
Not 100% sure of syntax lua expects ( e.g.
~add-ons/LSB/lua/
, add-ons/LSB/lua/
or even LSB/lua/
) but I can work it out.Thanks for your help, much appreciated!

EDIT:
{ ca_id = "move", location = '~add-ons/LSB/lua/ca_forest_animals_move_ignore_enemies.lua', score = score - 2 }
loaded. 
And the units moved around.

Will test & tweak when time permits...
Cheers!
-- Spannerbag