Hard Light Productions Forums
Modding, Mission Design, and Coding => The FRED Workshop => Topic started 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 :)
-
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?
-
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.
-
[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...
-
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.
-
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.
-
Actually FRED seems to change whether it saves everything all on one line or on multiple lines on a SEXP by SEXP basis.
-
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.
-
Cheers. Was worried I'd missed something big then...
-
it seems to work now.. i replaced the ship and re-made the event.. might have been a bug of some sort