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 09-25-2001, 11:04 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
Hats

what is the hat script and how do u change hats?
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #2  
Old 09-25-2001, 06:17 PM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
setplayerprop #P1,hat48.png;
Reply With Quote
  #3  
Old 09-25-2001, 08:05 PM
Knightoffrost Knightoffrost is offline
and Delph Inc.
Knightoffrost's Avatar
Join Date: Jul 2001
Location: Canada
Posts: 1,162
Knightoffrost is on a distinguished road
Send a message via ICQ to Knightoffrost Send a message via AIM to Knightoffrost Send a message via Yahoo to Knightoffrost
[ Delph Inc. ] (Owner of Dolphonia and Galactica (Dolphonia II))
Well...first of all...tell us what you're talking about?
P2P or non-P2P
__________________
Xerphier Dintch
Featuring
Reply With Quote
  #4  
Old 09-25-2001, 08:40 PM
Shard_IceFire Shard_IceFire is offline
Registered User
Shard_IceFire's Avatar
Join Date: Jun 2001
Location: Eastern Harkoonia
Posts: 861
Shard_IceFire is on a distinguished road
You can develop your own script for hats, but to set a player or NPC's hat you do:
NPC Code:

//player's hat
if (playerenters) {
//put stuff here
setplayerprop #P1,hat#.png;
}


NPC Code:

//NPC's hat
if (created) {
//put stuff here
setcharprop #P1,hat#.png;
}


It's rather easy. Unless you make your own hat graphics and use showimg, you can't use hats on non-p2p servers (I think).
__________________

-=Shard IceFire=-
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 10:46 AM.


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