selecting and moving clones individually

Game Editor comments and discussion.

selecting and moving clones individually

Postby poxy » Tue Jul 10, 2007 3:50 am

So I'll explain my question as best I can...

I'm trying to make actors that are clones of each other, but can be individually selected to move. Something like in a strategy game like War craft where you have peons that are the same thing (clones) but can be created separately and controlled separately (but can do all the same actions). I've tried a ton of different ways but my scripting ability is pretty beginner. On that note, can someone tell me what the ampersand (&) character is for?
poxy
 
Posts: 4
Joined: Tue Jun 19, 2007 10:09 pm
Score: 0 Give a positive score

Postby akhad » Tue Jul 10, 2007 11:03 am

You'll need to use GetClone or, preferably, GetClone2. Then you can alter various attributes of each clone. GetClone2 is an extra bit of code though. There's a link to it and an explanation in this thread.

http://game-editor.com/forum/viewtopic. ... =getclone2

It's a little technical but is invaluable if you really want to use the power of clones.
User avatar
akhad
 
Posts: 43
Joined: Tue Jan 16, 2007 1:59 pm
Location: U.K
Score: 0 Give a positive score

Postby poxy » Thu Jul 12, 2007 6:07 pm

Thanks a bunch, I never would have figured it out on my own
poxy
 
Posts: 4
Joined: Tue Jun 19, 2007 10:09 pm
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron