Languish.org

General Category => Off the Record => Gaming HQ => Topic started by: jimmy olsen on May 06, 2009, 06:55:08 PM

Title: Why won't this event work?
Post by: jimmy olsen on May 06, 2009, 06:55:08 PM
It says the line with the name has an error but it looks fine to me. :mad:

#########################################################################
#  Lizard Jet Shot Down
########################################################################
event = {
   id = 300114
   random = yes
   
   trigger = { atwar = U00 } }

       name = "Lizard Jet Shot Down!"
       desc = "A Lizard jet was shot down. Our   
       scientists have found it relatively intact, and
       gleaned many secrets from it."
       style = 0

   date = { day = 0 month = january year = 1936 }
   offset = 1
   deathdate = { day = 30 month = december year = 1953 }
   
   action_a = {
      name = "Lizard jet reverse engineered"

   command = { type = gain_tech which = 5570 }

   }
}
Title: Re: Why won't this event work?
Post by: Darth Wagtaros on May 06, 2009, 06:59:20 PM
I think the main problem is that series went to suck.
Title: Re: Why won't this event work?
Post by: Caliga on May 06, 2009, 07:00:54 PM
try it without the exclamation point.
Title: Re: Why won't this event work?
Post by: ulmont on May 06, 2009, 07:11:33 PM
Quote from: jimmy olsen on May 06, 2009, 06:55:08 PM
   trigger = { atwar = U00 } }

This is your problem.  Take out the second }, so it looks like

   trigger = { atwar = U00 }

You = fail.
Title: Re: Why won't this event work?
Post by: jimmy olsen on May 06, 2009, 07:16:35 PM
Quote from: ulmont on May 06, 2009, 07:11:33 PM
Quote from: jimmy olsen on May 06, 2009, 06:55:08 PM
   trigger = { atwar = U00 } }

This is your problem.  Take out the second }, so it looks like

   trigger = { atwar = U00 }

You = fail.
It seems you're right, thanks. But I don't get it, the last two I wrote needed that to work.  :huh:
Title: Re: Why won't this event work?
Post by: ulmont on May 06, 2009, 07:20:45 PM
Quote from: jimmy olsen on May 06, 2009, 07:16:35 PM
It seems you're right, thanks. But I don't get it, the last two I wrote needed that to work.  :huh:

No they didn't.  The { } have to be balanced.  In your broken example, you opened one after the event, then another when you start the trigger, and then closed both of them after the atwar test, which ended the event.  Then the game sees the name line and doesn't know what to do with it since the game isn't in the middle of reading an event.

Your other events might have had something like

   trigger = { NOT = { InCabinet = 21117 } }

Here, there are 2 left and 2 right braces, which is the way your trigger should be.
Title: Re: Why won't this event work?
Post by: Neil on May 06, 2009, 07:21:21 PM
Insufficient dreadnoughts.

And BTW:  :bleeding:
Title: Re: Why won't this event work?
Post by: ulmont on May 06, 2009, 07:22:52 PM
Quote from: Neil on May 06, 2009, 07:21:21 PM
And BTW:  :bleeding:

Yes.  :bleeding:  I feel kinda bad for helping fix that particular event.
Title: Re: Why won't this event work?
Post by: Galrion on May 06, 2009, 08:54:30 PM
 :huh:

Is there a mod for that series?
Title: Re: Why won't this event work?
Post by: jimmy olsen on May 06, 2009, 10:32:16 PM
Quote from: Galrion on May 06, 2009, 08:54:30 PM
:huh:

Is there a mod for that series?
A dead beta that I've been fiddling with.
Title: Re: Why won't this event work?
Post by: PDH on May 06, 2009, 10:42:02 PM
Jesus Christ...I wish I had mod powers so I could ban you for this thread.
Title: Re: Why won't this event work?
Post by: katmai on May 06, 2009, 11:44:21 PM
Quote from: PDH on May 06, 2009, 10:42:02 PM
Jesus Christ...I wish I had mod powers so I could ban you for this thread.

:whistle:
Title: Re: Why won't this event work?
Post by: Viking on May 07, 2009, 12:06:36 AM
Quote from: katmai on May 06, 2009, 11:44:21 PM
Quote from: PDH on May 06, 2009, 10:42:02 PM
Jesus Christ...I wish I had mod powers so I could ban you for this thread.

:whistle:

We're waiting  :area52:
Title: Re: Why won't this event work?
Post by: Alatriste on May 07, 2009, 04:10:30 AM
Lizard Jets? I don't know which game the event belongs to, but the event needs Lizard Sharks for balance...
Title: Re: Why won't this event work?
Post by: Darth Wagtaros on May 07, 2009, 06:35:20 AM
Well Tim, maybe if you had helped me make a hard decision in the D&D thread I'd be of more help in this one.
Title: Re: Why won't this event work?
Post by: Josquius on May 07, 2009, 08:40:14 AM
Quote from: Alatriste on May 07, 2009, 04:10:30 AM
Lizard Jets? I don't know which game the event belongs to, but the event needs Lizard Sharks for balance...

Seems to be a World War (Turtledove) HOI(2?) mod.
Search Amazon for it, the book covers are funny.
Title: Re: Why won't this event work?
Post by: jimmy olsen on May 07, 2009, 01:17:46 PM
Quote from: Tyr on May 07, 2009, 08:40:14 AM
Quote from: Alatriste on May 07, 2009, 04:10:30 AM
Lizard Jets? I don't know which game the event belongs to, but the event needs Lizard Sharks for balance...

Seems to be a World War (Turtledove) HOI(2?) mod.
Search Amazon for it, the book covers are funny.

(https://languish.org/forums/proxy.php?request=http%3A%2F%2Fwww.sfsite.com%2F%7Esilverag%2Fbritwar.jpg&hash=b7c7f774dcbbf222cc94ebdb9512dbdd12d6d7d4)
Title: Re: Why won't this event work?
Post by: Neil on May 07, 2009, 03:20:27 PM
Quote from: jimmy olsen on May 07, 2009, 01:17:46 PM
Quote from: Tyr on May 07, 2009, 08:40:14 AM
Quote from: Alatriste on May 07, 2009, 04:10:30 AM
Lizard Jets? I don't know which game the event belongs to, but the event needs Lizard Sharks for balance...

Seems to be a World War (Turtledove) HOI(2?) mod.
Search Amazon for it, the book covers are funny.

(https://languish.org/forums/proxy.php?request=http%3A%2F%2Fwww.sfsite.com%2F%7Esilverag%2Fbritwar.jpg&hash=b7c7f774dcbbf222cc94ebdb9512dbdd12d6d7d4)
I want to shoot you in the face.  I also want the person who created that cover to die, due to the lack of dreadnoughts on the cover of a book allegedly about WWII.
Title: Re: Why won't this event work?
Post by: Ed Anger on May 07, 2009, 03:22:02 PM
This thread makes Jesus cry.

(https://languish.org/forums/proxy.php?request=http%3A%2F%2Fimg365.imageshack.us%2Fimg365%2F6157%2Fjesus20crying.jpg&hash=d867566c6a0585c2b4f43f665fa6787cb4d28f47)
Title: Re: Why won't this event work?
Post by: FunkMonk on May 07, 2009, 03:39:20 PM
Quote from: Alatriste on May 07, 2009, 04:10:30 AM
Lizard Jets? I don't know which game the event belongs to, but the event needs Lizard Sharks for balance...
:D
Title: Re: Why won't this event work?
Post by: The Brain on May 07, 2009, 03:40:18 PM
Jesus looks like Mohamed (PBUH).