The simplest way is to use getData(objectid=createuuid()) - whenever you request an object that doesn't exist FarCry will return a default one with an extra property "bDefaultObject" set to true.
Blair On Mon, May 5, 2008 at 10:47 AM, Joel Cass <[EMAIL PROTECTED]> wrote: > > Sorry, it's actually getDefaultObject() not getDefaultProperties() > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > On Behalf Of Joel Cass > Sent: Monday, 5 May 2008 10:42 AM > To: [email protected] > Subject: [farcry-dev] Re: se > > > I had this "error" last week. > > From memory, it was because I was creating stProperties using > structNew() instead of objFarcryType.getDefaultProperties() > > Sifting through the code, you will probably find that it is because the > property "typename" is not set. > > Joel > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "farcry-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/farcry-dev?hl=en -~----------~----~----~----~------~----~------~--~---
