Ever said "Gee, if only we had a $xxxxxx operator?"
This isnt nearly as nice as a cash test opperator, but it almost works, and I think it can be made to work well enough to allow missions to be given or suppressed for broke charachters.
Misn 1: 100% avail from main spaceport. Inviso, Cant refuse. Apply pay on autoabort
OnAccept: !b1 S2 A1
Payval: -60000
Misn 2: 0% avail Inviso, Autoaborts. Inviso, Cant refuse. Apply pay on autoabort
Payval: 10000
Cron 1:
EnableOn !b1
OnStart: b1
Duration 1, Holdoffs 0
If the player has more than 10k when they land, b1 is unset.
If the player does not, b1 stays set.
The bit-unsetting happens as soon as the player lands.
The catch is that while misn 1 takes the 10k, and misn 2 gives it back, misn 2 doesnt run until AFTER THE PLAYER TAKES OFF again. So this means that the player will be 10k poorer while on the planet's surface, if they have 10k or more. Blargh.
Also, for anyone testing this, nova has a credit count refresh bug, and the credits shown on the screen isnt updated until the player does something like take off or go to outfitters or whatever.
Enjoy all. Anyone got any thoughts on how to make it fully working?
-Az
------------------
It is here. EVNEW Public Beta (url="http://"http://www.aznt.com/EVN/EVNEW")www.aznt.com/EVN/EVNEW(/url)
Stuffit is a piece of .sit.
(This message has been edited by Azratax2 (edited 01-31-2004).)