Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-18-2003, 06:12 PM
SilentSkripter1988 SilentSkripter1988 is offline
Banned
Join Date: Aug 2003
Posts: 56
SilentSkripter1988 is on a distinguished road
More question!

How do I make it so the player cant chat unless the script tells them too? Also how do I make it so the player cant move unless something happens ? Thanks.
Reply With Quote
  #2  
Old 08-18-2003, 06:47 PM
TribulationStaff TribulationStaff is offline
Registered User
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
TribulationStaff is on a distinguished road
Send a message via AIM to TribulationStaff
You would know the answers to both of these if you would just read the tutorials that are avaiable to you. You have been referred to it several times. I suggest, lastly that you be aware of this rule of the NPC forum.

1) Don't post here just asking for scripts, or asking for people to fix scripts that are beyond your skill level. The posters here aren't just some handy resource for scripting shortcuts. If you can't script something then don't try to produce it. If you're trying to make it to aid your learning then set your sights lower. If you want it for a server then go get a NAT. Likewise, don't post whole scripts for people. Post wordy solutions, certainly, but not things that people can just copy & paste into their levels without any effort.
__________________


Help me keep scripting
Reply With Quote
  #3  
Old 08-18-2003, 06:59 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
Freezing player commands.

freezeplayer2;
unfreezeplayer;

Clientside:
freezeplayer seconds;
disabledefmovement;
enabledefmovement;

Timeouts are handy in this case.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #4  
Old 08-18-2003, 07:19 PM
SilentSkripter1988 SilentSkripter1988 is offline
Banned
Join Date: Aug 2003
Posts: 56
SilentSkripter1988 is on a distinguished road
Thank you neorene, I appreciate you answering. And for tribulation staff, Im asking for a command not a whole script. So dont act like im asking for a whole script.
Reply With Quote
  #5  
Old 08-18-2003, 07:25 PM
SilentSkripter1988 SilentSkripter1988 is offline
Banned
Join Date: Aug 2003
Posts: 56
SilentSkripter1988 is on a distinguished road
How about freezing the text they said for some time ?
Reply With Quote
  #6  
Old 08-18-2003, 07:30 PM
Angel Angel is offline
Registered User
Join Date: Dec 2002
Posts: 562
Angel is on a distinguished road
Send a message via AIM to Angel
setplayerprop #c, ;
Reply With Quote
  #7  
Old 08-18-2003, 07:41 PM
TribulationStaff TribulationStaff is offline
Registered User
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
TribulationStaff is on a distinguished road
Send a message via AIM to TribulationStaff
I don't mean to flame. I just feel that you should learn to read the manual, so to speak, instead of asking every time. As Jagen would say, you won't learn anything unless you learn on your own. There are many aspiring scripters out there. The only reason this board isn't cluttered with questions about basic commands is that there exist references out there which explain them thoroughly already.
__________________


Help me keep scripting
Reply With Quote
  #8  
Old 08-18-2003, 07:53 PM
marcoR marcoR is offline
Registered User
Join Date: Jul 2003
Posts: 1,349
marcoR is on a distinguished road
wait wait! I have an idea... go into editor... and look at the commands in a NPC... that's how I learned and look at me! I'm... oh wait... nvm...
__________________
If this is your account, contact me.
- loriel
email, jabber: [email protected]
icq: 67530805
aim: lorielvictrix
Reply With Quote
  #9  
Old 08-18-2003, 10:23 PM
SilentSkripter1988 SilentSkripter1988 is offline
Banned
Join Date: Aug 2003
Posts: 56
SilentSkripter1988 is on a distinguished road
The newbie scripters bible is written in a style that I learn much from. In basic knowledge it uses these commands that ive never even heard of not even explaining why I would need some of this stuff. I learn by asking questions and reading through scripts and trying to figure out what they do.
Reply With Quote
  #10  
Old 08-18-2003, 10:24 PM
SilentSkripter1988 SilentSkripter1988 is offline
Banned
Join Date: Aug 2003
Posts: 56
SilentSkripter1988 is on a distinguished road
Angel, setplayerprop #c, ; would make it clear the chat above the players head, I need to know how like if they use an npc and it makes them say "I own you" how could I make it so the text stays there until a certain event happens?
Reply With Quote
  #11  
Old 08-18-2003, 10:27 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
commands.rtf and newfeatures.txt(s)
search the scripting forums for one of the more updated commands.rtf files if you don't already have one (from the forums of course)

read those first, then ask about commands and such, most of your answers can easily be found in these documents

[EDIT] omfg, setplayerprop #c,insert your text or #s(string) here;
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #12  
Old 08-18-2003, 10:55 PM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
use a slow timeout to keep the chat the same. if you think they'll talk to make it go away, increase the timeout rate.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 05:24 AM.


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