Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: pc32435 on October 27, 2005, 02:34:10 pm

Title: Newbie FREDer about to explode
Post by: pc32435 on October 27, 2005, 02:34:10 pm
im trying to make event were a AI Ship jumps out at a certain waypoint. ive named the waypoint and everythng but i get error saying:

Error in mission event "eas moves": Event name is invalid (not known).

In sexpression: ( when
   ( is-event-true-delay
      " eas jumps out"
      1
   )
   ( add-goal
      "EAS"
      ( ai-waypoints-once "jump" 70 )
   )
)
(Error appears to be:  eas jumps out)

(BTW eas means the ship name) i dont have a clue what means about event name not being known, i've named to diffrent things but same error.
:confused:

any help be nice :)
Title: Newbie FREDer about to explode
Post by: StratComm on October 27, 2005, 03:38:14 pm
It's probably the errant space in the event name "eas jumps out", Try editing that event in FRED and reselecting the event from the list instead of typing it in manually.

And I hate to say it, but the error message looks pretty clear.

Pseudo-edit: I'm finding it exceedingly difficult to post periodically.  Is something up with dynamic.gamespy.com again?
Title: Newbie FREDer about to explode
Post by: karajorma on October 27, 2005, 03:53:53 pm
Are you selecting your event names and SEXPs from the pop-up menu or are you typing the names in yourself?

It could be as simple as a typo. Like Stratcomm suggests.
Title: Newbie FREDer about to explode
Post by: pyro-manic on October 27, 2005, 04:27:52 pm
[stupid question]That looks quite different from how sexps look to me. Specifically the "ai-waypoints-once "jump" 70" part. Shouldn't that be on separate lines? Am I missing something, or has something significant changed in the last few months?[/stupid question]

The things that jump out at me are the space in the event-true-dalay part, and the "1" instead of "true", as well as the thing noted above...
Title: Newbie FREDer about to explode
Post by: karajorma on October 27, 2005, 04:45:49 pm
That's what an FS2 mission looks like if you open it up in a text editor so I suspect there is nothing wrong with the SEXP itself apart from the typo.
Title: Newbie FREDer about to explode
Post by: StratComm on October 27, 2005, 04:58:15 pm
Yeah technically it'd be correct if it were all on one line, though I don't know how well FS2 can parse a mission if done that way.  SEXPs are basically just a modified implimentation of LISP.
Title: Newbie FREDer about to explode
Post by: karajorma on October 27, 2005, 05:09:45 pm
Actually FRED seems to change whether it saves everything all on one line or on multiple lines on a SEXP by SEXP basis.
Title: Newbie FREDer about to explode
Post by: Goober5000 on October 27, 2005, 05:52:43 pm
Quote
Originally posted by karajorma
Actually FRED seems to change whether it saves everything all on one line or on multiple lines on a SEXP by SEXP basis.
I think it wraps lines once they exceed a certain width.
Title: Newbie FREDer about to explode
Post by: pyro-manic on October 27, 2005, 06:49:14 pm
Cheers. Was worried I'd missed something big then...
Title: Newbie FREDer about to explode
Post by: pc32435 on October 28, 2005, 05:19:19 am
it seems to work now.. i replaced the ship and re-made the event.. might have been a bug of some sort