Jump to content
Sign in to follow this  
fasad

refering to classless object (model.p3d)

Recommended Posts

G'day all,

Is it possible to refer and manipulate an arbitrary object that does not have a class? For example, the array returned by getPos player nearObjects 100 includes a bee as "638268 : honeybee.p3d". I'm not interested in the bee, mostly something called "shell.p3d" smile_o.gif

Does anybody got a better way to filter or "catch" specific types of classless objects without just hoping it is the last created object and therefore maybe the last element in the array, or manipulating then checking the string? Environmental objects such as bees and leaves tend to be created quite frequently.

edit : solved! Seems I've lost the plot again smile_o.gif

nearObjects ["ShellBase",200] returns the classed shell object... any words of wisdom still appreciated.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×