Author Topic: Scripting jobs for iBan's CityRPG  (Read 287 times)

Hi. I've been trying to script some new jobs for my City RPG. I always use the same format as the other jobs, but it never works. I tried making a Shop Owner job before, and the only things I changed from Shop Keeper was the pay and education but it didn't show up on the in-game jobs list. Shop Keeper still did. Is there something I need to change? A step-by-step guide would be very useful.

Thanks,
Ravencroft

Nevermind I figured it out. I had to add something to it, but now I have another problem. How would I add items to a job? Would I have to add it to the item list on gamemode_CityRPG?

by figuring it out, did you go into scriptobject.cs and append to the job list?

As for items, open a server, and spawn AND HOLD the item you want to add
then type this into console
talk(findclientbyname([your name here]).player.getmountedobject(0).getname());

err, I might have gotten that wrong. if it doesn't work, try this
talk(findclientbyname([your name here]).player.getmountedimage(0).getname());

Then replace "image" with "item"

Ok thanks. I'll try it out.