Jump to content

Whitefang3

Resident
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Whitefang3

  • Rank
    Newbie
  1. I want to be able to sell some things i've made, but i don't know how. I know how to sell them IN THE GAME but on the website i don't know how.
  2. vector getVelocity(){ rotation rot = llGetRot(); vector vel = llRot2Fwd(rot); if( llGetAgentInfo(llGetOwner()) & AGENT_WALKING ) vel*=4; else vel/=2; return vel;}default{ state_entry() { llReleaseControls(); } attach(key id) { if(id) { state attached; } }}state attached{ state_entry() { llSetTimerEvent(1); } attach(key id) { if(id==NULL_KEY) { state default; } } timer() { if (llGetAgentInfo(llGetOwner()) & AGENT_WALKING) { state walking; } } }state walking{ state_entry() { llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS); llSetTimerEvent(1); } run_time_permissions(integer perm) { if (perm & PERMISSION_TAKE_CONTROLS) { llTakeControls(CONTROL_UP|CONTROL_DOWN|CONTROL_FWD|CONTROL_BACK, TRUE, FALSE); } } if (held & CONTROL_UP) { llPushObject(llGetOwner(), <0,0,13>, ZERO_VECTOR, FALSE); } else if (held & CONTROL_DOWN) { llPushObject(llGetOwner(), -<0,0,13>, ZERO_VECTOR, FALSE); } else if (held & CONTROL_FWD) { llPushObject(llGetOwner(), <50,0,0>, ZERO_VECTOR, TRUE); } else if (held & CONTROL_BACK) { llPushObject(llGetOwner(), -<50,0,0>, ZERO_VECTOR, TRUE); } llResetTime(); }}
  3. vector getVelocity(){ rotation rot = llGetRot(); vector vel = llRot2Fwd(rot); if( llGetAgentInfo(llGetOwner()) & AGENT_WALKING ) vel*=4; else vel/=2; return vel;}default{ state_entry() { llReleaseControls(); } attach(key id) { if(id) { state attached; } }}state attached{ state_entry() { llSetTimerEvent(1); } attach(key id) { if(id==NULL_KEY) { state default; } } timer() { if (llGetAgentInfo(llGetOwner()) & AGENT_WALKING) { state walking; } } }state walking{ state_entry() { llRequestPermissions(llGetOwner(), PERMISSION_TAKE_CONTROLS); llSetTimerEvent(1); } run_time_permissions(integer perm) { if (perm & PERMISSION_TAKE_CONTROLS) { llTakeControls(CONTROL_UP|CONTROL_DOWN|CONTROL_FWD|CONTROL_BACK, TRUE, FALSE); } } if (held & CONTROL_UP) { llPushObject(llGetOwner(), <0,0,13>, ZERO_VECTOR, FALSE); } else if (held & CONTROL_DOWN) { llPushObject(llGetOwner(), -<0,0,13>, ZERO_VECTOR, FALSE); } else if (held & CONTROL_FWD) { llPushObject(llGetOwner(), <50,0,0>, ZERO_VECTOR, TRUE); } else if (held & CONTROL_BACK) { llPushObject(llGetOwner(), -<50,0,0>, ZERO_VECTOR, TRUE); } llResetTime(); }}
×
×
  • Create New...