default
{
touch_start(integer param)
{
llGiveInventory(llGetOwner(), "Landmark Example"
;}
}
Thanks for your time!
These forums are CLOSED. Please visit the new forums HERE
Give Item on Touch Script |
|
|
Heathur Spaight
Registered User
Join date: 18 May 2005
Posts: 257
|
09-27-2007 12:53
In the Give Item on Touch Script - how do you add multiple things? I added Landmark Example as just the single time. how could I add something for example called Landmark Example 2?
default { touch_start(integer param) { llGiveInventory(llGetOwner(), "Landmark Example" ;} } Thanks for your time! |
|
Shyan Graves
Registered User
Join date: 10 Feb 2007
Posts: 52
|
09-27-2007 13:17
use llGiveInventoryList instead of llGiveInventory, see the wiki for more information https://wiki.secondlife.com/wiki/LlGiveInventoryList
Shyan |
|
Shadow Subagja
Registered User
Join date: 29 Apr 2007
Posts: 354
|
09-27-2007 14:09
probably also want to change llGetOwner() to llDetectedKey(0)
In the Give Item on Touch Script - how do you add multiple things? I added Landmark Example as just the single time. how could I add something for example called Landmark Example 2? default { touch_start(integer param) { llGiveInventory(llGetOwner(), "Landmark Example" ;} } Thanks for your time! |
|
Shyan Graves
Registered User
Join date: 10 Feb 2007
Posts: 52
|
09-28-2007 01:43
probably also want to change llGetOwner() to llDetectedKey(0) Yah, also a good idea ) |