Jump to content

Parack

Resident
  • Posts

    2
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello everyone, Thanks for the replies. @Rolig I tried using your script; at the 'state okay' I added a collision_start and a status change to phantom, however, now when I run the script (when it's rezzed) it stays phantom. state OK{ state_entry() { llSetTimerEvent(10.0); llSay(0,"You're in!"); } changed(integer change) { if (change & CHANGED_INVENTORY) { llResetScript(); } } collision_start(integer total_number) { llSetStatus(STATUS_PHANTOM, ALL_SIDES); } collision_end (integer total_number) { llResetScript(); } //SNIP
  2. Hello, I'm starting my first script; It's supposed to be a barrier that only allows people in a list access. The idea is that it goes phantom when they are allowed, and turns red and physical when they're not. list access = ["Parack Resident"]; default { collision_start(integer total_number) { if (access); { llSetStatus(STATUS_PHANTOM, TRUE); llPlaySound("7053d699-0b55-2892-80da-b63aa1b6fc5d", 1.5); } if(llGetTime() < 5.0) { llResetScript(); } else { llWhisper(0,"No Access"); } } collision_end(integer total_number) { llSetColor(<1.0,1.0,1.0>, ALL_SIDES); } } When I was first doing the script I noticed that the collision was repeating, so I played a timer on it to halt the repitition. When I'm testing the script and I collide with it, it goes phantom and I get the "No access" message. Is there any chance that someone could help me get this script working?
×
×
  • Create New...