Data Realms Fan Forums
http://45.55.195.193/

Select only objects from one RTE
http://45.55.195.193/viewtopic.php?f=73&t=14654
Page 1 of 1

Author:  Ultric [ Fri May 15, 2009 3:50 pm ]
Post subject:  Select only objects from one RTE

I was trying to make something, but I ran into a small snag. Is there a way to make it so that you can select all the objects that are in the RTE that is using the Lua? What I mean is, if I was creating a Lua file in Coalition.rte, is there a way that I could apply something to only coalition units? Another small question is, can you limit the range?

Author:  Grif [ Fri May 15, 2009 8:08 pm ]
Post subject:  Re: Select only objects from one RTE

It'd help if you told us what the ♥♥♥♥ you were doing.

See, if it's just a script attached to something, then that's all you do. Attach it.

There should also be some kind of function for reading .rte names, but, again, it's kind of hard when we have no idea what you're doing.

Author:  Daman [ Fri May 15, 2009 10:41 pm ]
Post subject:  Re: Select only objects from one RTE

http://www.datarealms.com/wiki/index.ph ... taLocation

You could use this and compare.

I'd bet that it crashes CC on use, though. Plus there's no way for us to "read in" entities, so I don't have a clue how it wants us to specify an entity. It may just work using the presetname and type.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/