Mark., on 27 March 2014 - 01:15 PM, said:
Drek said " Oh, and a shop system... shouldn't be too too hard."
Yea right...real easy, said the many con code noobs like myself.

Well I plan to make a single shop sprite. It would use x,y,z vel in mapster on these shop sprites to give them a price, quantity, and picnum to spawn. I can use hitag/lotag then as an activator variable too if needed.
That would be sorted out in eventloadactor.
The actor code would use findnearactor to see if the player is nearby, making a quote appear and allowing the purchase to go through if player hits use.
Added: Here is the shop code I have, for now. It doesn't do much more than spawn the item once purchased, I need to manually place sprites in the map to show what's for sale, how much...