User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

'OR' logic; and mutiple FACs in an event

Fri Feb 15, 2008 12:13 pm

It appears that the Conditions block is 'AND' logic: all conditions must be true to fire.

I'm in need of a 'clean' 'OR' method. Currently, I've written several events, each of which if true will do a CngEvent = 1 on a 'trigger' event'. I then have my 'final outcome' event fire only when the 'trigger event' value = 1. Is this the best or only way to do 'OR'?

Second question: Can an event have Actions for both factions in the same event (USA and CSA often do something at the same time). I can see that only one side could get the notification script, which explains the metodology used for several 'empty' events [that serve only to give notifcation], but for a 'silent' event there would be no issue on sending messages.

OK, I'm ready to 'bonk' myself if I've missed something again... :bonk: :innocent:

User avatar
Primasprit
Posts: 1614
Joined: Mon Jun 19, 2006 7:44 pm
Location: Germany

Fri Feb 15, 2008 12:45 pm

About the OR logic: I also don't have a better idea right now.

Events can have actions for both factions. Select the other faction (SelectFaction) and add the event actions.
I think it the xls it is simply done by changing the faction in the first column.

Cheers
Norbert

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Fri Feb 15, 2008 1:18 pm

Primasprit wrote:About the OR logic: I also don't have a better idea right now.

Events can have actions for both factions. Select the other faction (SelectFaction) and add the event actions.
I think it the xls it is simply done by changing the faction in the first column.

Cheers
Norbert


Thanks! :king:

Return to “Modding AGE engine games”

Who is online

Users browsing this forum: No registered users and 6 guests