View Full Version : StoryEvents.txt
Obsidian
06-14-2004, 11:32 AM
As I mentioned in the Plaza Raid thread, there is a Story Event defined as ExitLastLevel in StoryEvents.txt(I don't know what "kludge" means, as part of the comment). However, custom Story Events can be defined in the txt file using the syntax: [StoryEventName] {}. What I was wondering is how would you would refer to one of these story events in a later level for example. The Story Events already in StoryEvents.txt are all used to define something that the player does (conditional) which needs to be known for a later level (e.g. If Mike dies on the first Vodka level or not). However MaxEd doesn't use If statements, so how could the value of a Story Event be used in a later level? Has anybody else ever used Story Events?
Joonas
06-14-2004, 02:38 PM
You use FSM_SendConditional script in your level. That is connected to the StoryEvents file.
Damn it, people, read the official tutorials, including the FSM reference card! http://forums.3drealms.com/ubbthreads/images/graemlins/rolleyes.gif
FSM_SendConditional("command name", "StoryEvent name");
... sends the specified custom event if the specified storyevent is set to TRUE.
So, a floating FSM located somewhere in Vodka doesn't activate Mike unless he didn't die, survived. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif
Obsidian
06-14-2004, 02:51 PM
Thanks Joonas http://forums.3drealms.com/ubbthreads/images/graemlins/doh.gif
I always wondered what that send conditional did, and now I know. http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif
Joonas
06-14-2004, 03:02 PM
You're welcome.
... but read the tutorials the next time, okay? http://forums.3drealms.com/ubbthreads/images/graemlins/wink.gif
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.