Warfare Incorporated :: View topic - Allies in multiple steps
Warfare Incorporated Forum Index
 FAQ   Search   Memberlist   Usergroups 
 Profile   Log in to check your private messages   Log in 
 
Allies in multiple steps

 
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring
View previous topic :: View next topic  
Author Message
UGMC
Mega-Poster


Joined: 03 Jun 2004
Posts: 348
Location: my own little world

PostPosted: Mon Jun 21, 2004 5:45 am    Post subject: Allies in multiple steps Reply with quote

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
View user's profile Send private message
ajcross
Very Active User


Joined: 23 Dec 2003
Posts: 113
Location: Kansas City

PostPosted: Tue Jun 22, 2004 9:42 am    Post subject: Reply with quote

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
View user's profile Send private message
crakerz
Mega-Poster


Joined: 17 Sep 2003
Posts: 353
Location: California Bay Area

PostPosted: Tue Jun 22, 2004 10:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Warfare Incorporated Forum Index -> Mission Authoring All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group