Hi Zak, I am actually trying that, although currently not with another team. I just wanted to see it in action before committing. My problem right now is that when the points dictating whent eh unit "rebels" reaches zero, the unit does change, but also duplicates. This is very strange behavior, since this does not work like this for the structures that a player can place which get converted to their evil version. The warden is also not affected, as is a second unit called a wraith and fades in and out of the ethereal polain. Yet, on a second attempt with a unit to copy the warden, I practically left the unit (which was the rogue) and it did the same thing, while the warden still remained not a problem. Somewhere there is just one thing that seems to make the difference but for the life of me I can't figure it out. al -----Original Message----- From: ian-reeds-games-bounce@xxxxxxxxxxxxx [mailto:ian-reeds-games-bounce@xxxxxxxxxxxxx] On Behalf Of Zak Claassen Sent: Monday, October 14, 2013 6:57 PM To: ian-reeds-games@xxxxxxxxxxxxx Subject: [ian-reeds-games] Re: question about toggle team Maybe you could use the transform script to change it into a fourth team which is enemies with both teams 1 and 2. That way it would attack the enemy without becoming one of your units. On 10/14/13, Allan Thompson <allan1.thompson@xxxxxxx> wrote: > Hi Craig, > Maybe you explained this already, but I can't remember. So if I > already asked I apologize. > > I was just wondering if some argument could be added to toggle team > and toggle team effect that might change it a little. > > I was thinking about how you got the team argument for the change unit > that transforms after death. > I guess my question is , is it possible to make an argument, or > actually two arguments, if possible? > > I guess one would be like the team argument, where you can just number > the team you want. The second one is an argument for self effects. For > games with only two teams, player and computer, could there be some > kind of argument that takes the self casters team into account and > just switches sides? It wouldn't work for maps with more then the > initial 3 teams, but it would be very useful. > > For instance, I am working on a drow faction that has some slave > combat units. > It has a "threaten" skill which beats the units into doing more, but > it randomly costs points that affect the "mood" of the unit. > Once it reaches that threashold, the hope was that the unit would "switch" > sides and start attacking the previous owner of the unit. > > The big problem is that I can't pick a team for the unit to toggle > into or even change into since the factions are designed to be > playable by both players or the computer, or even the same drow > against each other player versus computer. > > So some kind of simple switch would be awesome. > I hope all that made some kind of sense. I am not good at describeing > this stuff. Also, I just can't remember if you said this kind of thing > was possible or not. I know with the version 10 of the files is > causeing some issues apparently as well with scripts so I am not sure > where to go from this point on the matter. > Thanks for reading at least! > al > > > > > > > > > Jesus Christ of Nazareth 33AD > > > > >