View previous topic :: View next topic |
Author |
Message |
UGMC Mega-Poster
Joined: 03 Jun 2004 Posts: 348 Location: my own little world
|
Posted: Mon Jun 21, 2004 5:45 am Post subject: Allies in multiple steps |
|
|
Here's my problem. When you set allies, then everything in that chart is new. For example, side 1 allies with side 3, which makes side two an enemy again. I want to make it so you can ally two sides in any order without resetting one side's alliance. I think this can be done with switches, but I'm uncertain how. Anyone have any ideas? |
|
Back to top |
|
|
ajcross Very Active User
Joined: 23 Dec 2003 Posts: 113 Location: Kansas City
|
Posted: Tue Jun 22, 2004 9:42 am Post subject: |
|
|
I have hit this problem too.
Set 'side' [enemy|ally] of 'side'
Where [enemy|ally] specifically turns the ally on or off _________________ Andy Cross |
|
Back to top |
|
|
crakerz Mega-Poster
Joined: 17 Sep 2003 Posts: 353 Location: California Bay Area
|
Posted: Tue Jun 22, 2004 10:18 am Post subject: |
|
|
Let me see if I have this straight: you want to set alliances "blind", that is set Side1 to ally with Side4, and to preserve any previously set alliances (such as Side1 with Side3), without knowing what those previously set alliances are?
That is very possible, but I wouldn't use switches, I would use pvars. Also realize that it will be very trigger intensive. You would have to code every possible scenario that you would want to exist, which is about 7 per side:
Side1 allies with Side1
Side1 allies with Side2
Side1 allies with Side3
Side1 allies with Side4
Side1 allies with Side2,Side3
Side1 allies with Side2,Side4
Side1 allies with Side3,Side4
You would have to use a pvar to keep track of who is allied with who, and use that to direct the triggers. You can do this with weighted numbers. Again, this would be complicated to do. _________________ Why negotiate when you can just blow things up?
------------------------------------------------------ |
|
Back to top |
|
|
|