View unanswered posts | View active topics It is currently Sat Apr 27, 2024 6:48 am



Reply to topic  [ 3 posts ] 
 Select only objects from one RTE 
Author Message
User avatar

Joined: Thu Jul 10, 2008 6:23 pm
Posts: 301
Location: Lurking somewhere around here...
Reply with quote
Post 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?


Fri May 15, 2009 3:50 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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.


Fri May 15, 2009 8:08 pm
Profile
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post 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.


Fri May 15, 2009 10:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.991s | 15 Queries | GZIP : Off ]