Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.