Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-19-2006, 12:34 AM
underwood underwood is offline
Registered User
Join Date: Mar 2006
Posts: 27
underwood is on a distinguished road
asking experts.

if (playerchats) {
if (strequals(#c,leave)) {
setlevel2 levelname,x,y;
}
}


That is the code to warp outta spar when you say Leave but how do you make it so one person has to be dead before the code will work? I've tried a bunch of things but this i just cant figure out...
Reply With Quote
  #2  
Old 03-19-2006, 12:41 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
You could use the playercount, and the number of players with the specified string (the sparring one), then warp only them out
but if you're learning gscript, i suggest gs2, gs1 is fading out.
Reply With Quote
  #3  
Old 03-19-2006, 12:44 AM
underwood underwood is offline
Registered User
Join Date: Mar 2006
Posts: 27
underwood is on a distinguished road
so i would like... lol wow this stuff confuses me.
Reply With Quote
Reply


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 01:25 PM.


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