Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Why is this event not being triggered?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mission Designers' Forum
View previous topic :: View next topic  
Author Message
The Avon Lady



Joined: 18 May 2005
Posts: 3267
Location: Jerusalem, Israel

PostPosted: Wed Sep 14, 2005 6:21 am    Post subject: Why is this event not being triggered? Reply with quote

I have 3 objectives in my mission:

Sink target1
Sink target2
Reach mapzone1

I have the following 3 triggers defined:

Failed to sink target1
Failed to sink target2
Reached mapzone1

I have an event to issue a message should all 3 of the above triggers be true. Yet when I run the mission in SH3 and I go to mapzone1 without sinking anything to test this out, the event is not triggered, resulting in no message being displayed.

How come? Confused Crying or Very sad
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Avon Lady



Joined: 18 May 2005
Posts: 3267
Location: Jerusalem, Israel

PostPosted: Wed Sep 14, 2005 7:33 am    Post subject: Reply with quote

Another question, possibly related:

What is the "Message repeated until received" checkbox for in the event defintion window? Confused
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Avon Lady



Joined: 18 May 2005
Posts: 3267
Location: Jerusalem, Israel

PostPosted: Thu Sep 15, 2005 1:34 am    Post subject: Reply with quote

/bump

Nobody knows nothin'? Embarassed
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Avon Lady



Joined: 18 May 2005
Posts: 3267
Location: Jerusalem, Israel

PostPosted: Thu Sep 22, 2005 7:12 am    Post subject: Reply with quote

/bump

Nobody? Crying or Very sad

If someone can help, please email me.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jace11



Joined: 16 Mar 2005
Posts: 1091

PostPosted: Thu Sep 22, 2005 9:00 am    Post subject: Reply with quote

don't know, upload it so peeps can have a look. I'm not sure the SH3 editor handles logic in objectives too well.

I imagine the message thing will mean it is repeatedly sent. If you are submerged (deep) you cant receive it, so i guess it just keeps sending it till you do..
Back to top
View user's profile Send private message
The Avon Lady



Joined: 18 May 2005
Posts: 3267
Location: Jerusalem, Israel

PostPosted: Thu Sep 22, 2005 9:13 am    Post subject: Reply with quote

Here's a copy of the SP mission, Royal Flush.

There is nothing great about the mission. I haven't even tweaked it much. This is mainly a learning exercise for me.

Help appreciated. Thumbs Up
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Jace11



Joined: 16 Mar 2005
Posts: 1091

PostPosted: Thu Sep 22, 2005 10:36 am    Post subject: Reply with quote

Hmm, well I had a quick look, and my opinion is the "failed" objectives are not working.

Nothing to do with your mission, but I think "Ship X sunk = failed" cannot be used to trigger events. Looking at the objective, you cannot set any time limit or anything else, therefore as long as the ship exists the possibility of meeting the objective remains. Therefore as an objective, it can't be failed without linking it to another variable. So your Transports exist when you reach the map zone, however the objective doesn't count this as a failure to sink them. You could go back and sink them or sink them later on their journey, basically it is open ended.

Now linking this with another objective (Reach Zone) would be the way to try and get it work (as you tried), but it looks like it just doesn't work like that in this editor. Seems to me that the problem with the "failed" is carried over into the events, so those events where you egress and don't sink anything are never met as some objectives are open ended and not met...

It is like a horrid logic puzzle. Note the editor doesn't really have AND OR NOT etc for linking objectives so its not as versetile as other game editors.

No idea if there is a fix for this.
Back to top
View user's profile Send private message
The Avon Lady



Joined: 18 May 2005
Posts: 3267
Location: Jerusalem, Israel

PostPosted: Mon Sep 26, 2005 8:01 am    Post subject: Reply with quote

Jace11 wrote:
Hmm, well I had a quick look, and my opinion is the "failed" objectives are not working.

Nothing to do with your mission, but I think "Ship X sunk = failed" cannot be used to trigger events. Looking at the objective, you cannot set any time limit or anything else, therefore as long as the ship exists the possibility of meeting the objective remains. Therefore as an objective, it can't be failed without linking it to another variable. So your Transports exist when you reach the map zone, however the objective doesn't count this as a failure to sink them. You could go back and sink them or sink them later on their journey, basically it is open ended.

I have not fully tested but I think I've found the solution. It requies setting the trigger's ObjState value to -1. I believe that means that the objective is neither passed(0?) nor failed (1?).

This can be set in the editor by leaving the objective status dropdown list on blank.

Just uploaded my latest version of the mission. Try it if you like. Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mission Designers' Forum All times are GMT - 5 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


Powered by phpBB © 2001, 2005 phpBB Group