SRL Archive - Outdated Tutorials

[#39] OpenBankNPC


Sir R. M8gic1an

2009-10-04 15:14:20


// * function OpenBankNPC: Boolean; // * by Home

OpenBankNPC has been added to SRL! Thank you Home! :)

Lots o' Love
SRL Dev Team

rogeruk

2009-10-04 15:19:32

Love it. Great work Home!

Home

2009-10-04 15:25:01

I'm in SRL Include!? Yay! Thanks everyone!!

~Home

EvilChicken!

2009-10-04 18:51:19

I told you you were doing well?

Home

2009-10-04 22:43:35

From: EvilChicken!
I told you you were doing well?


Was it you :) ?

Thanks matey!

~Home

Dynamite

2009-10-04 22:44:19

Is this quicker than OpenBankFast?

T~M

YoHoJo

2009-10-04 22:47:27

From: The Man
Is this quicker than OpenBankFast?

T~M


Only one way to find out…

Neehosoft

2009-10-04 22:48:42

From: The Man
Is this quicker than OpenBankFast?

T~M


Yeah, i used it before it was in include. It works with most banks too.

rogeruk

2009-10-05 16:41:45

One main concern is that at Al Kharid bank it ALWAYS uses the top banker which is non human like.

Any way of randomising the banker it uses?

Home

2009-10-05 16:51:50

From: rogeruk
One main concern is that at Al Kharid bank it ALWAYS uses the top banker which is non human like.

Any way of randomising the banker it uses?


It uses the nearest NPC what it finds from Minimap then looks for first color ..

rogeruk

2009-10-05 16:55:45

From: Home
It uses the nearest NPC what it finds from Minimap then looks for first color ..


Yea problem is that it finds in on the MM but then doesnt do anything because it cant find the first guy. Just sits there when he is off screen

Home

2009-10-05 17:27:34

From: rogeruk
Yea problem is that it finds in on the MM but then doesnt do anything because it cant find the first guy. Just sits there when he is off screen


Then it is in Colors, and it will check do NPC's exists on your mainscreen.
If not it will exit the function. It is probaly the colors. But adding too much colors in function will make it slow. The best color is Bankers face color, try so that bankers faces will be shown.