Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   ATM script... (https://forums.graalonline.com/forums/showthread.php?t=282)

Lomgren 03-17-2001 12:45 PM

Hmm......seems like I am asking a lot of questions, oh well....
Anyway, I was just wondering what the script for an ATM machine is, one that works with the bank card. I seem to remember it being posted on the old forum somewhere, but I never saved it, and I need to know, there is going to be one in something I am submitting to CGM.

SSmutz 03-17-2001 01:12 PM

they've got it at http://sdragons.mooglecave.com

Lomgren 03-17-2001 02:09 PM

I thought that was an older version of the ATM, I was meaning the newest one, the one created by Kyle

SSmutz 03-17-2001 02:39 PM

oh, i dunno, all i know is that they have bank card scripts there somewhere

Mustang1988 03-17-2001 03:14 PM

ross!
 
They've got it at Ross!

Lion'el-Jonson 03-17-2001 04:27 PM

hehehe

kyle0654 03-18-2001 07:07 AM

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.

Lomgren 03-18-2001 08:19 AM

thanks Kyle, that is exactly what I needed to know :D

Tyhm 03-18-2001 09:16 AM

On the main server, there's more to it...but we can add it if you mention the ATM in the description. Fix for the money duping bug. Kinda secret.

kyle0654 03-18-2001 09:47 AM

oh yah *smacks head* I forgot I was gonna update the bank card to do the anti-dupe automatically! Oh well...

Bhala 03-26-2001 04:07 AM

kyle gave him the ATM script, the important sufff is in the bank card I think......

Quote:

Originally posted by Tyhm
On the main server, there's more to it...but we can add it if you mention the ATM in the description. Fix for the money duping bug. Kinda secret.

kyle0654 03-26-2001 04:13 AM

all the important stuff 'cept for the anti-dupe thing is in the card...

Bhala 03-26-2001 08:57 AM

that is what I thought


All times are GMT +2. The time now is 11:17 AM.

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