I have been getting by so far with basic timers to run some events but it's not very optimal to say the least and I am needing help with sorting it out.
What I am trying to do at the moment is detect when the player is in Pious Mists 2 and then start the timer. At first I tried to do a range check for a sector like at the start of the Hatikvah plot but that was too complicated so I looked through some of the other MD files as saw the <event_object_changed_sector> thing so tried that approach instead but cannot seem to get it to work either.
Here's part of what i'm trying to get to work
Code: Select all
<mdscript name="NH_newsectornames" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="findsomesectors" checkinterval="1s" >
<conditions>
<check_value value="player.entity.exists" />
</conditions>
<actions>
<find_sector name="$PiousMistsTwo" macro="macro.cluster_22_Sector001_macro" space="player.galaxy"/>
<find_sector name="$HeartOfTranquility" macro="macro.NH_ClusterNHS07_Sector001_macro" space="player.galaxy"/>
</actions>
</cue>
<cue name="nhrenamesectors" >
<conditions>
<event_object_changed_sector object="player.entity" sector="$PiousMistsTwo" />
</conditions>
<actions>
<signal_cue cue="powersurge"/>
</actions>
<cues>
<cue name="powersurge" >
<conditions>
<event_cue_signalled/>
</conditions>
<delay exact="10s"/>
<actions>
<speak actor="player.computer" priority="90">
<text page="1121073" line="121035" comment="Ship computer says Gate in Sacred Relic is now activated"/>
<text page="1121073" line="121036" comment="Sacred Relic"/>
</speak>
</actions>
</cue>
<cue name="preacherclarity" >
<delay exact="45min"/>
<actions>
<find_sector name="$NhUsAlphaOne" macro="macro.NH_ClusterNHS01_Sector001_macro"/>
<set_object_name object="$NhUsAlphaOne.cluster" name="'{1121070,121087}'"/>
<set_object_name object="$NhUsAlphaOne" name="'{1121070,121087}'"/>
<speak actor="player.computer" priority="90">
<text page="1121073" line="121029" comment="Incoming mapping signal"/>
</speak>
</actions>
<delay exact="2s"/>
<actions>
<speak actor="player.computer" priority="90">
<text page="1121073" line="121030" comment="Preacher's Clarity added to ship computer database"/>
</speak>
</actions>
</cue>
So in basic English, what an I missing and how to get it to work ?