Cloak & Dagger Mission
Moderators: winston, another_commander
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Do not use generic terms like isStealthy for custom ship properties. I will go out of my way to break it out of pure spite. Use a namespacing prefix and all will be well.
E-mail: [email protected]
Never figured you to be someone with a malicious ill will prompting an urge to hurt or humiliate.Ahruman wrote:Do not use generic terms like isStealthy for custom ship properties. I will go out of my way to break it out of pure spite. Use a namespacing prefix and all will be well.
Code: Select all
ship.CandCShipStealth = yes;
Cheers Frame..
Bounty Scanner
Number 935
Number 935
Might I suggest a perhaps simpler way, to give the ship a secondary role of stealthShip (or something similar) and then use that to tag such ships?
That way you're not tying things into a particular OXP plus it's much easier to code for people less experienced in scripting (and even some who are more experienced) who may not be too comfortable with own properties?
That way you're not tying things into a particular OXP plus it's much easier to code for people less experienced in scripting (and even some who are more experienced) who may not be too comfortable with own properties?
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Namespacing is required for custom roles, too. :-)Thargoid wrote:Might I suggest a perhaps simpler way, to give the ship a secondary role of stealthShip (or something similar) and then use that to tag such ships?
E-mail: [email protected]
OK, how about "OXP_stealthShip" then? So it's definitively non-trunk but not tied to any specific OXP?
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
And because I liked the concept - here's an OXP Built around (and to demo) the new trunk functionality that a_c mentioned, so needs 1.74.
Doesn't include the Cougar, as that's Frame's to play with. But the stealth functionality works well.
Doesn't include the Cougar, as that's Frame's to play with. But the stealth functionality works well.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link
Oops, minor bug in the OXP (!= that should have been an ==, set for testing purposes and forgot to flip back).
Corrected version available at same url above.
Corrected version available at same url above.
My OXPs via Boxspace or from my Wiki pages .
Thargoid TV
Dropbox Referral Link
Thargoid TV
Dropbox Referral Link