ThreadBoard ArchivesSite FeaturesActiveworlds SupportHistoric Archives |
object commands (Sdk)
object commands // Sdkdonald p. dahlmanNov 29, 1998, 10:12pm
is there a way to assign action and description commands to an object
using the sdk. velenoDec 1, 1998, 1:53am
Sure is. If the sdk is having to change the object alone, you will need
to query the sector for the object so it knows what to change, then you need to tell it what to do... look at the second sdk sample in the SDK docs on activeworlds homepage. If you are creating an object, then modifying it, you should be able to skip the query process and save yourself some scripting lines, only trouble with that is if you don't have the bot deconstruct the object before he leaves the world, then there is a tendancy to be a pile up of the object every time the bot comes in, and places another to the stack. Which then you have to go in and manually delete.... a pain on its own. [View Quote] > is there a way to assign action and description commands to an object > using the sdk. canopusDec 1, 1998, 1:53am
Yes, Sample 2 shows how to find the object by Querying, and then to
change its action property (description would be similar). [View Quote] > is there a way to assign action and description commands to an object > using the sdk. |