[opensource-dev] retrieving scripts attached to an object
mahmoudahmedismail at gmail.com
Sun Feb 14 08:44:17 PST 2010
as a proof of concept i was creating a floater which instantiated by a
button on the Pie Menu
in that floater i've created a Button in which i was try to get all
inventory items attached to the selected object
but, i found that it gives no script items although there're two script
files "Note: i didn't open these files just press on New Script"
now, sometimes when i opened these files first then press my button it
here's my button code:
llinfos<<"Loop on inv_objects "<<llendl;
llinfos<<"Type : "<<obj->getType() << " Name :
anyone could tell me why i've to open the script file in order to be known
as an inventory item for that object
another request, if anyone have any material could help me in understanding
of the workflow of the scripting module (from creating scripts till saving)
please pass it.
thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the opensource-dev