[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: イベント定義で・・


>次回バージョンでは修正しておきます。

よろしくお願いします。

>1&#12316;6の発生頻度はplugin.xmlの<eventSpan>の内容を書き換えることで調節できます。

これは便利ですね、ちょうど90日とか120日間隔とか指定したいと思っていたところです。
ただ、イベントからイベントを呼び出す方法がどうもうまくいきません
下記の文なのですが、もしよろしければご教授いただけると幸いです。

親イベント発生後、子イベントA または 子イベントB を発生させたいというものなのですが。
<events>
	<define type="event" id="001">
	<frequency>6</frequency> 
	<action>
		<description>親イベント発生</description> 
		<target type="economy" /> 
		<effect on="trend" by="ratio" value="1.2" dispersion="0.1" days="50" /> 
	</action>
	<follow_events>
		<randomize type="event">
			<branch weight="1">
				<event ref="s001" /> 
			</branch>
			<branch weight="2">
				<event ref="s002" /> 
			</branch>
		</randomize>
	</follow_events>
	</define>

<!--子イベント群-->
	<!-- 子イベントA --> 
	<define type="event" id="s001">
	<frequency>0</frequency> 
	<action>
		<target type="economy" /> 
		<effect on="trend" by="ratio" value="2.0" dispersion="0.5" days="180" /> 
		<description>子イベントA発生</description> 
	</action>
	</define>
	<!-- 子イベントB -->
	<define type="event" id="s002">
	<frequency>0</frequency> 
	<action>
		<target type="economy" /> 
		<effect on="trend" by="ratio" value="0.1" dispersion="0.5" days="180" /> 
		<description>子イベントB発生</description> 
	</action>
	</define>
</events>
_______________________________________________
FreeTrain-general mailing list
FreeTrain-general@lists.sourceforge.jp
http://lists.sourceforge.jp/mailman/listinfo/freetrain-general

題名

名前

メッセージ