![]() |
Events
I'm trying to get started scripting my actual mission, but I can't seem to get any events working so I must be doing something wrong.
First I have a "Campaigns_Singleplayer.xml" which loads the events: Code:
<Rebel_Story_Name>Story_Plots_LOB.xml</Rebel_Story_Name>Code:
<Active_Plot>Story_Campaign_Alliance_1</Active_Plot>Code:
<Event Name="Universal_Story_Start">This event is not working, it's supposed to trigger after 0 seconds (copied it from a source file) then show "Dialog_A" which is my custom dialog. I tried other events like revealing planets but none of them worked - so basically I don't even know if the script is read at all. What am I doing wrong? I checked source files over and over again but I don't see a problem. http://img140.imageshack.us/img140/5924/123ywr.jpg edit: When i'm scripting C-style games I always have to call a thread (Event) before it will run, are these events automatically run when the file is read (unless you have prereqs)? This could be why nothing is working, then again I haven't found any source files which show that individual events/threads have to be called. |
| All times are GMT -4. The time now is 11:47 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
LFNetwork, LLC ©2002-2011 - All rights reserved.