Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Buggy validation/processing in setMaterials/setShaders

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

User avatar
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Re: Buggy validation/processing in setMaterials/setShaders

Post by Kaks »

Capt. Murphy wrote:
But there is no way in 1.76.1 (or in trunk as yet) to reliably validate that that the entity in question is definitely a Griff ship
Have you tried testing for its unique role? If (ship.hasRole('uniqueRole')) should do the trick...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
Post Reply