HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question on Unit Ownership Change

01-13-2007, 01:37 AM#1
AntJAB
As I say with every new thread of mine: Sorry if this answer exists somewhere, failed to come up with it with a search.

I'm coming up with some ideas for a unit system and I have a quick question.

After changing ownership of a unit (keeping their origonal color), would it be possible to detect somehow who the origonal owner of the unit was?

I can think of how to do it with arrays, but I'd like to keep away from that if possible.

Thanks in advanced.

-Ant.
01-13-2007, 01:41 AM#2
wyrmlord
I don't think you can. My suggestion would be to set the unit's custom user value to the player number of the owner when it comes into the playable map area.
01-13-2007, 01:43 AM#3
AntJAB
That's what I thought.

Also, that was another of my ideas, I just wanted to know what options I had to me.

Thanks.

Rep.