getclone + cloneindex = confusion

You must understand the Game Editor concepts, before post here.

getclone + cloneindex = confusion

Postby DST » Fri May 02, 2008 12:41 am

I'm having trouble using these functions. I've seen posts about them before but none of them made sense to me, so I'll ask it in my own way.

I can get a cloneindex, that's simple enough.
I can assign a command using getclone, that's simple enough.

How can I connect a cloneindex I've gotten (thru a function or collision or array value) to a getclone command?

This doesn't work, but it expresses what I want to do;
arrayname[valuex]=actorname.cloneindex;
getclone(actorname.arrayname[valuex]){etc. etc.}

Can anyone help?
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score

Re: getclone + cloneindex = confusion

Postby makslane » Fri May 02, 2008 1:23 am

Use the getclone2 function:
viewtopic.php?t=711
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: getclone + cloneindex = confusion

Postby DST » Fri May 02, 2008 3:39 am

Sweeeeeeeeeeet!
It's easier to be clever than it is to be kind.
http://www.lostsynapse.com
http://www.dstgames.com
User avatar
DST
 
Posts: 1117
Joined: Sun Apr 15, 2007 5:36 pm
Location: 20 minutes into the future
Score: 151 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest