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
  #16  
Old 04-18-2007, 05:58 AM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Or maybe just triggerserver in the script and call a serverside public function from DB?

But that's just being fancy schmancy :P
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #17  
Old 04-18-2007, 07:11 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Have you even read the rules for the scripting forum? You shouldn't expect people to just post entire scripts for you that work...
They are giving you advice as to HOW you should make YOUR OWN scripts.
__________________
Do it with a DON!
Reply With Quote
  #18  
Old 04-18-2007, 07:16 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Never asked for a whole script, asked for help, and people proceeded with scripts. He also continued to try to script it himself, even after someone posted a script for him. I don't see the problem.
Reply With Quote
  #19  
Old 04-18-2007, 07:40 AM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Quote:
Originally Posted by DustyPorViva View Post
Never asked for a whole script, asked for help, and people proceeded with scripts. He also continued to try to script it himself, even after someone posted a script for him. I don't see the problem.
I was responding to his post as to "how none of these scripts work" by pointing out how they weren't full scripts (I didn't see any atleast).
__________________
Do it with a DON!
Reply With Quote
  #20  
Old 04-18-2007, 02:40 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Well he's getting various different tips on how to try to get this to work, I don't think he literally meant the scripts, but the advice we were giving him. You really are digging too deep into this, he's hardly breaking the rules and he's been trying to get this to work himself.
Reply With Quote
  #21  
Old 04-18-2007, 07:22 PM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally Posted by DustyPorViva View Post
NPC Code:
if (playerenters) timeout=20;
if (timeout) setlevel2 blahblah.nw,x,y;

This is your shortest working solution in gs1 but you dont want to put it clientside (like i suspect you are doing) unless you want to trigger to warp the player (since setlevel2 isnt clientside).
__________________
Reply With Quote
  #22  
Old 04-19-2007, 12:28 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by Andy0687 View Post
This is your shortest working solution in gs1 but you dont want to put it clientside (like i suspect you are doing) unless you want to trigger to warp the player (since setlevel2 isnt clientside).
As i said before none of sleeping type scripts work

Dose anyone know how to make a script just puase without using sleep or timeout?
__________________
**FLIP OUT**
Reply With Quote
  #23  
Old 04-19-2007, 09:16 AM
Chandler Chandler is offline
Banned
Join Date: Jan 2007
Posts: 656
Chandler will become famous soon enough
Quote:
Originally Posted by theHAWKER View Post
As i said before none of sleeping type scripts work

Dose anyone know how to make a script just puase without using sleep or timeout?
waitfor
scheduleevent
Reply With Quote
  #24  
Old 04-19-2007, 02:52 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
But there should be no reason for using something other than sleep or timeout. Instead of trying to find an alternative, you should try figuring out what's going on.
Reply With Quote
  #25  
Old 04-30-2007, 04:45 AM
Deadly_Killer Deadly_Killer is offline
Registered User
Join Date: Feb 2002
Posts: 227
Deadly_Killer is on a distinguished road
PHP Code:
if (created) {
  
setshape 1,32,32;
}

if (
actionwarp) {
  
setlevel2 graallegacy_h04.nw,11,31;
}

//#CLIENTSIDE
if (playerenters) {
  
timeout 10;
}

if (
timeout) {
  
triggeraction x 0.5,0.5,warp,;

incase you didnt get it yet, that should work.
__________________
- Zidane / Zidaya
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 06:48 AM.


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