Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 03-18-2001, 07:07 AM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
NPC Code:

if (playerenters) {
banksprites = #;
isbank = 1;
noplayerkilling;
enableweapons;
}



Just make sure you have isbank = 1; in there, and if you want to define a sprite set, make one with the standard name and a different # on the end, then define that same number in banksprites = #;. You'll hafta look through webgifs for the bank sprites though, I don't remember what the standard name is, or if they're gif or png.....I'm pretty sure they're .png though.

The noplayerkilling and enableweapons are optional, just make sure you have weapons enabled, and try to make sure noplayerkilling is on, it'll get along better with the bank card.
Reply With Quote
 


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:12 AM.


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