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 Thu Mar 28, 2024 8:51 pm
All times are UTC + 0
[SOLVED] Trigger problem
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
wiwimax
Soldier


Joined: 13 Dec 2016

PostPosted: Tue Aug 25, 2020 7:29 pm    Post subject:  [SOLVED] Trigger problem
Subject description: Multiple triggers on one building; all players variable
Reply with quote  Mark this post and the followings unread

I've trigger "StolenSpySat" attached to the building,

Event type: #1 Entered by...
Parameter value: 4475 <Player @ A>

Action 0
# 16 Reveal all map

And when I am playing as Player 1 everything works, but I want this logic to work for all other players / player's locations on the skirmish map, but there is possible only one attached trigger per a building/structure, any solution?

Btw, Event type # 59 mentions a variable:
"Triggers when unit, infantry, or aircraft move over this cell. <THEM = House of entering unit>"

but this doesn't work too.

Last edited by wiwimax on Thu Aug 27, 2020 5:05 pm; edited 1 time in total

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Wed Aug 26, 2020 12:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Why not just stick SpySat=yes on the building?

_________________
MIdAS - Turning wages into beer since 2002

Back to top
View user's profile Send private message
wiwimax
Soldier


Joined: 13 Dec 2016

PostPosted: Wed Aug 26, 2020 4:50 am    Post subject: Reply with quote  Mark this post and the followings unread

MRMIdAS wrote:
Why not just stick SpySat=yes on the building?
Because than engineer will be needed, the building when get captured will be re-mapped, or at least on the map will have the color of the owner of the engineer, and I want just the spysat feature, and no one else to know that someone else interact anyhow with the building.

Unfortunately when the building is neutral i.e. is not owned by some active house/player these tags don't working on the building:
SpyEffect.Custom=yes
SpyEffect.RevealRadar=yes
SpyEffect.KeepRadar=yes

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Aug 26, 2020 5:16 am    Post subject: Reply with quote  Mark this post and the followings unread

Multiple triggers can be linked with all having same Tag associated with a building, if that is what you wanted to know.

Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Wed Aug 26, 2020 7:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Is this with Ares?
If not, events do not support Player @ X logic.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Aug 26, 2020 9:04 am    Post subject: Reply with quote  Mark this post and the followings unread

All you need is the trigger to do a change house script upon entry if the building already has SpySat=yes...?

Is this a coop mission where you can have multiple players capture it or what?

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
RP
Commander


Joined: 12 Jul 2012
Location: Mapping God Heaven

PostPosted: Wed Aug 26, 2020 9:22 am    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
All you need is the trigger to do a change house script upon entry if the building already has SpySat=yes...?

Is this a coop mission where you can have multiple players capture it or what?


If that is the case and the Ai never does, then you can use -1.

_________________


Mental Omega 3.0 Mission creator - Creator of FinalOmega: APYR 3.0 Map Editor

/ppm/'s stupidity

Back to top
View user's profile Send private message
wiwimax
Soldier


Joined: 13 Dec 2016

PostPosted: Wed Aug 26, 2020 5:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

E1 Elite wrote:
Multiple triggers can be linked with all having same Tag associated with a building, if that is what you wanted to know.

That is what is needed, can you please explain in details?



RP wrote:
Is this with Ares?
If not, events do not support Player @ X logic.

It is with Ares, but where this can be found in the Ares Documentation?

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Wed Aug 26, 2020 9:31 pm    Post subject: Reply with quote  Mark this post and the followings unread

RP wrote:
G-E wrote:
All you need is the trigger to do a change house script upon entry if the building already has SpySat=yes...?

Is this a coop mission where you can have multiple players capture it or what?

If that is the case and the Ai never does, then you can use -1.

If the building is Civilian you can just leave it capturable like a normal skirmish map, it's when you start getting into custom owners that you need the change house trigger in my experience. Of course all the missions I've worked on would only have one player try to capture existing structures, so player location would be irrelevant.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
wiwimax
Soldier


Joined: 13 Dec 2016

PostPosted: Wed Aug 26, 2020 10:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
RP wrote:
G-E wrote:
All you need is the trigger to do a change house script upon entry if the building already has SpySat=yes...?

Is this a coop mission where you can have multiple players capture it or what?

If that is the case and the Ai never does, then you can use -1.

If the building is Civilian you can just leave it capturable like a normal skirmish map, it's when you start getting into custom owners that you need the change house trigger in my experience. Of course all the missions I've worked on would only have one player try to capture existing structures, so player location would be irrelevant.


It is not actually a real coop mission it is just simple normal Skirmish map, map that can be played online/lan too, but there is no any actual defined enemy (ai) that all other players would have to destroy it. The players (human or ai) would attack each other like on any other multiplayer map.

I need anyone that will put a spy into the building to get the spysat without actually to own the building.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Aug 27, 2020 1:56 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
wiwimax
Soldier


Joined: 13 Dec 2016

PostPosted: Thu Aug 27, 2020 5:04 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [12 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.1496s ][ Queries: 11 (0.0084s) ][ Debug on ]