Short question:
Is it possible to suppress the "Bounty: n Cr." console-message after killing a pirate? I would like to subsitute it with something else in some cases (not generally) and am using the shipDestroyedTarget event-handler to display my own message. But the built-in message is also displayed. I would like to suppress it. Possible?
On a related note: I already tried to set the target.bounty to 0 in the script, but this didn't work. Obviously the message to the engine is already sent earlier, although my console-message is displayed first. Even when I in the script already have subtracted the bounty again, still the higher player.credits are displayed in the "Bounty: n Cr.", although on the F5-screen the value will be lowered again.
"Bounty: n Cr."
Moderators: winston, another_commander
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: "Bounty: n Cr."
Nope.Commander McLane wrote:Is it possible to suppress the "Bounty: n Cr." console-message after killing a pirate? I would like to subsitute it with something else in some cases (not generally) and am using the shipDestroyedTarget event-handler to display my own message. But the built-in message is also displayed. I would like to suppress it. Possible?
E-mail: [email protected]
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Re: "Bounty: n Cr."
:Sigh:Ahruman wrote:Nope.Commander McLane wrote:Is it possible to suppress the "Bounty: n Cr." console-message after killing a pirate? I would like to subsitute it with something else in some cases (not generally) and am using the shipDestroyedTarget event-handler to display my own message. But the built-in message is also displayed. I would like to suppress it. Possible?
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Put it in the Scripting Requests thread. I really will go through that some day. :-)
(Actually, I’m considering scheduling that for after MNSR. Putting every feature into the next release isn’t a good plan. I mostly need to nail down some bits of the JS stuff and fix the lighting in the shaders… oh, and fix some bugs, that’s a good idea.)
(Actually, I’m considering scheduling that for after MNSR. Putting every feature into the next release isn’t a good plan. I mostly need to nail down some bits of the JS stuff and fix the lighting in the shaders… oh, and fix some bugs, that’s a good idea.)
E-mail: [email protected]
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact: