Page 1 of 1

Some event crash

Posted: Sun Feb 16, 2014 6:38 pm
by Ora_unit_SR388
Hi guys. I have been working on some new events, and I have reached a bug that I can't solve. Any help?

Code: Select all

<event name = "FLEET_EASY">
	<fleet>rebel</fleet>
	<text>The alliance scumbags have found you!  They quickly teleport on board, asking for your identicard.</text>
	<choice req="I_CARD" hidden="true">
		<text>Show them your Identification...</text>
				<event load="FLEET_TRADER"/>
	</choice>
	<choice req="I_CARD_FAKE" hidden="true">
		<text>Show them your Identification...</text>
				<event load="FLEET_FAKE_CARD"/>
	</choice>
	<choice hidden="true">
		<text>Engage the allied scum!</text>
		<boarders min="2" max="5" class="human"/>
		<ship load = "LONG_FLEET" hostile ="true"/>
	</choice>
</event>

<event name = "FLEET_TRADER">
	<fleet>rebel</fleet>
	<text>The man lights up.  He hasn't seen an authentic identicard in years.  "I am sorry for the trouble sir, we will get to repairing your ship, there is a shop on the fifth floor."</text>
	<damage amount="-30"/>
	<store/>
</event>

<event name = "FLEET_FAKE_CARD">
	<fleet>rebel</fleet>
	<text>The commander takes the card and scans it.  Then he scans it again just to make sure he didn't do something wrong.  "GET THEM, THE CARD IS FAKE!"</text>
	<damage amount="2"/>
	<boarders min="2" max="5" class="human"/>
	<ship load = "LONG_FLEET" hostile ="true"/>
	<store/>
</event>

Re: Some event crash

Posted: Sun Feb 16, 2014 8:02 pm
by Metzelmax
<choice hidden="true">
<text>Engage the allied scum!</text>
<boarders min="2" max="5" class="human"/>
<ship load = "LONG_FLEET" hostile ="true"/>
</choice>

you cant use boarders or ship or anything in choices. It needs to be in a event. Choice only contains text and a event.

Re: Some event crash

Posted: Sun Feb 16, 2014 8:14 pm
by Ora_unit_SR388
LOL, I knew I was doing something stupid. OK, solved. Mods, please lock this.