Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat May 16, 2026 2:00 pm
All times are UTC + 0
Double condition trigger
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Overmind
AA Infantry


Joined: 05 May 2022

PostPosted: Tue May 12, 2026 7:13 pm    Post subject:  Double condition trigger Reply with quote  Mark this post and the followings unread

I'm attempting to make a trigger to activate when 2 conditions are met (2 bases destroyed), but due to the linearity of events and triggers it does not seem possible.

Currently I've used trigger 1 to enable trigger 2, but that will not signal if base 2 is already destroyed when you destroy base 1.

Also, action 15 (allow win) does not seem to do anything or at least I can't make it work in testing.

So is there a way to trigger something when 2 previous conditions are both met in a random order ?

_________________
Red Alert 2 Yuri's Revenge Apocalypse mod:

https://www.moddb.com/mods/apocalypse1

Back to top
View user's profile Send private message
Overmind
AA Infantry


Joined: 05 May 2022

PostPosted: Thu May 14, 2026 5:25 am    Post subject: Reply with quote  Mark this post and the followings unread

I found solutions for this one.

Case 1: multiple condition-events can be used.
Adding all the events that need to happen in order to trigger the actions does work in a cumulative manner, so a single event will not break the activation.

Case 2: when you cannot use multiple events due to house ownership restrain.
Tris was more tricky, but it eventually worked.
Let's say you are house Yuri and you need to trigger something when certain conditions of house America and house Russia are met. Here's how it's done:

1. Create in the rules.ini a fake invisible invulnerable insignificant structure (1x1 in size) to have it as placeholder. I used a derivation of my original land mine as prop.
2. Create a waypoint in an area of the map you don't need much (it will take 1x1 anyway).
4. Setup separate trigger for house America and house Russia. To their other actions, add action "125 create building" and select the above created one with the waypoint created already.
3. Create the new final trigger that covers both events. As event/condition for the trigger, use "60 - tech type exists" and set it to 2 (or more if you have more houses that fit into the final condition).

_________________
Red Alert 2 Yuri's Revenge Apocalypse mod:

https://www.moddb.com/mods/apocalypse1

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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 can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2148s ][ Queries: 11 (0.0092s) ][ Debug on ]