|
Lazulai Stuer
Registered User
Join date: 5 Jan 2007
Posts: 2
|
10-24-2007 23:43
Hello, im trying to create a script or buy a script full perms that will poof when an avatar walks, its for a pair of shoes and id like the poofer to leave prints along the floor as the avatar walks. Any help would be appreciated im a total noob when it comes to scripts but again id appreciate any help or direction.
Cheers
|
|
Johan Laurasia
Fully Rezzed
Join date: 31 Oct 2006
Posts: 1,394
|
llGetAgentInfo to the rescue
10-25-2007 00:29
This should more or less do it for you. default { on_rez (integer foo) { llResetScript(); } state_entry() { llSetTimerEvent(0.1); } timer() { integer IsAvWalking = llGetAgentInfo (llGetOwner()); if (IsAvWalking & AGENT_WALKING) { llSay (0,"remove this line and replace with your particle system call"  ; } } } Put the script into the shoe and replace the llSay() line with the particle system call that you want to trigger and you're good.
|