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 02-17-2002, 11:03 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Chicken=- i r is need some help

// NPC made by ¤Çhîçkèñ¤ â€*ÑåÑåâ€*
if (playerenters||created)
{player.chat=0;
toweapons Chat thing}
if (weaponfired&&player.chat=0)
{player.chat=1;}
else if (weaponfired&&player.chat=1) {player.chat=0}
if (player.chat=1){
showimg 111,dk_textwindow.png,100,100;
changeimgvis111,4;
showimg 112,Tempus Sans ITC #s(player.message),100,100;
changeimgvis112,4;
}
if (player.chat=0){
hideimg111}
if (playerchats&&player.chat=1)
{setstring player.message,#c;
changeimgcolors 113,50,0,0,0.99}
How can i make that basicly like a chat system on like umm,Frolic but not as flashy ive tryed a few things but i need some help hehe = )
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #2  
Old 02-17-2002, 11:06 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
If its for a free server, use server.strings so the whole server can access the string
Reply With Quote
  #3  
Old 02-17-2002, 11:09 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
hhe -=Chicken=-

Yah i know about server.strings and stuff,but how would i put it together basicly like err umm how do i make it so that the players #c text when its on shows up over that img
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #4  
Old 02-18-2002, 12:11 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
You showimg and use text params
so do like
showimg 666,@b@Server@#s(server,chat),100,100;
changeimgvis 666,5;
the drawing height of 5 shows above 4
Reply With Quote
  #5  
Old 02-18-2002, 03:05 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
Chicken you have some of the sloppiest code I've ever seen. =\
NPC Code:

if (created){
message Kaimetsu likes the code spacing.;
sleep 2;
message So do I!;
sleep 2;
message So use it everyone. =\;
}

__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
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 09:07 PM.


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