Blockland Forums > Help
Need the following
Regulith:
You must suck at searching, because I found JVS Doors and Switches within a minute.
To make a door open with a button:
Make a door and a button. Name the door "door".
Make the events on your button
--- Code: ---[/] 0 OnActivate | door | Contentstart
--- End code ---
To make a light switch:
Make a light and a switch. Name the light "light".
Make the events on your switch
--- Code: ---[ ] 0 OnActivate | light | Setlight | NONE
[/] 1 OnActivate | light | Setlight | Player's light
[/] 2 OnActivate | Self | toggleeventenabled | [0 1]
--- End code ---
To make doors openable by certain people:
Open the door's events. Change the "Unresticted" to the appropriate setting.
To make a door open only for a certain "job":
Have that job earn a variable (Variable add-on required) when they start. Have the door check for that variable before opening. (I am unsure how to use Variables V5 from memory yet, you'll have to experiment)
BearInSteen:
Thanks a lot guys. Also, I would like to know how to use the RP_jobs to create and modify custom jobs, as well as use the RP_itemscostmoney to set the price of the items it spawns.
What I am trying to do is make a brick, that when you click it, it asks "yould you like to buy a handgun for $300?" then it has a "yes" or "no" choice event. "no" cancels then event. and "yes" takes $300 from the player and adds a handgun to the users inventory.
BearInSteen:
I also noticed with RP_resources a few of the ore and trees, don't show up at all. Am I missing a color pack for these to show up properly?
BearInSteen:
If anyone knows how to do any of that, please let me know.
BearInSteen:
someone please help.