View Single Post
  #1  
Old 07-29-2002, 08:46 PM
Chaos1187p2p Chaos1187p2p is offline
Registered User
Join Date: Jun 2002
Posts: 50
Chaos1187p2p is on a distinguished road
Help needed with editing various scripts.

ok for the first one. i have this gate see and i have two questions for it. is there any way to do this with out using server tags. like so if i touch the switch and it will hide and if i touch another it will show. 2nd question for the gate. ok here is my gate script (just the gate not the switches) i want it so that it has life so in other words it can be destroyed.

"if(playerenters)
{ timereverywhere;
setgif ccgate2.gif; blockagain;
if(save[0]==0) { show; }
else { hide; } } if(timeout)
{ hearts=hearts+0.5; timeout=3; }
if(exploded||wasshot)
{ hearts=hearts-1; message #v(hearts);
if(hearts=0) { show; message; } timeout=3; }
if(opendoor) { save[0]=1; hide; }
if(closedoor)
{ save[0]=0; show; }



hearts= 25"

for my 2nd script,
it is sopposed to be if hte player dies (with out a guild tag) then they shall be warped to a new room. such as the following

"if(playerdies) { if(strlen(#guild name)==0) { setlevel2 ccdungeon.graal,49,56; } }"
for some reason it does not work.
sorry to make two threads but the other was closed before i could correct it.
Reply With Quote