SRL Archive - Reflection Development

Small mod to Reflection Bank


Flight

2011-03-26 11:15:40

Could this please be put into reflection's Bank file, inside the "R_OpenDepositBox" function? I made a script that currently uses this deposit box and it's not added to the list so I got the coords and added it myself, but it's pretty pointless if I release the script and no one has this deposit box defined in their reflection Bank.

'port khazard', 'pkz' : T := Tile(2664, 3159);

Thanks in advance! :)

Brandon

2011-03-26 14:00:45

I believe u can put it at the top of the script :) and it should work without a new include.. Those I would like to see this but you should make it a constant.. Like:

const
RV_BANK_PKZ = 'pkz'

and do something like

RV_BANK_PKZ : T := Tile(2664, 3159);

IPwnz

2011-03-26 14:06:26

You can always create a fork of reflection on github, add your code to the bank function, and then do a pull request to get it added to the main include. :)

pyroryan

2011-03-26 14:10:39

https://github.com/SRL/srl-reflection/commit/be3ab573bdb55f0cfb7870f21322d69061bbf566
Done.
I'm under the assumption that the tile is correct :).

Flight

2011-03-26 20:35:10

Yaya thank you.