Search found 5 matches

by CarpeDiem
Wed May 21, 2014 11:20 pm
Forum: Modding help
Topic: Find entity
Replies: 15
Views: 8351

Re: Find entity

Both did a lot more than I hoped for. I will do some thinkering in the weekend when some spare time will be available.
As soon as I have something minimaly usefull I will post here.

Again, thank you.
by CarpeDiem
Wed May 21, 2014 10:38 am
Forum: Modding help
Topic: Find entity
Replies: 15
Views: 8351

Re: Find entity

Thanks all, It's nice to see an active comunity.

I've found a mod called "Cobra Commander". It has several calls on "unit" that I could use as example to learn these "unit control commands".

The basic idea that I initially had was to create two automatons.
1º kind is the combat mech. Moves to a ...
by CarpeDiem
Tue May 20, 2014 1:48 pm
Forum: Modding help
Topic: Find entity
Replies: 15
Views: 8351

Re: Find entity

I liked this idea since it avoid an unnecessary calculation every tick. I didn't knew about this variable.
Is there a list of all variables available like the wiki or is there any way that I can use to find then?

Best Regards.
by CarpeDiem
Tue May 20, 2014 10:55 am
Forum: Modding help
Topic: Find entity
Replies: 15
Views: 8351

Re: Find entity

Lol, you don't need to apologize. First, thank you for the answers.

I'll try to create a glob table to control it with the coordinates and use the current position to check the nearest one (X, Y, entity). No idea yet on how to do it, I will learn a little more with the tutorials first since I'm ...
by CarpeDiem
Mon May 19, 2014 12:42 pm
Forum: Modding help
Topic: Find entity
Replies: 15
Views: 8351

Find entity

Hi all.

I'm a programmer, but it's my first time with LUA. I've looked through the documentation and other mods, but haven't found the solution for these scenários.
Could anyone help please?

There are three questions here:
1 - Is there any way to find the nearest entity of some kind without using ...

Go to advanced search