So, when an Ares Outpost is destroyed (not neccessarily by the player, but I haven't fixed that yet), a value is increased by one.
When the player talks to a mission giver, I want Trans to check the value and redirect to the correct dockscreen.
I have this:
Code: Select all
<Help
desc= "The General looks at you thoughtfully.\n"What kinda ship you got kid? Ronin/A right - just like we're using...Listen, we're doing our best here, but one more ship will help us a lot. Tell me, how many Ares Outposts have you taken down?"">
<Actions>
<Action name=""I don't think I'm right for the job..."" key="d" cancel="1">
<ShowPane pane="Refuse"/>
</Action>
<Action name="(Tell him how many Outposts you have destroyed)" key="T" cancel="1">
(block Nil
(switch
(and (eq(objGetData gPlayerShip "LincolnOutpostsDestroyed") Nil))
(scrShowPane gScreen "NoGood")
(geq (objGetData gPlayerShip "LincolnOutpostsDestroyed") "1")
(scrShowPane gScreen "HelpLevel1")
)
)
</Action>
</Actions>
</Help>
Please help!