|
Lazink Maeterlinck
Registered User
Join date: 8 Nov 2005
Posts: 332
|
05-30-2007 19:26
When I use llGiveInventory to give someone a script, with preset values, those values get blanked. Is this a feature of GiveIntentory, or am I missing something? The values are assigned dynamically, so hard coding them in, defeats the purpose.
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
05-30-2007 20:10
llGiveInventory just gives a copy of the script code, not any script states. When you set it to run afterwards, it will be as if it was reset.
Script states are stored as part of objects themselves on the server, so if you want to give a script with a preset state, you will have to put it into an object, configure the object, then put the object into the inventory to be given to someone else with llGiveInventory.
|