Author Topic: Need the following  (Read 1394 times)

I have tried search and was not successful. I need a link to the following. (If you know them).


Download Links :

The JVS switch and doors

A "yes" or "no" event   (if this isnt a download and its coding, please list what I have to do (activate- )  etc


Events I need help setting up :

An event that makes a button or bricks  make a door open.

An event that makes a button or brick turn a light on and off.

An event that makes doors only able to be opened by a certain person   and also one that can only be opened by a certain job.



I will edit in more when they come up.  Thanks in advance guys. :cookieMonster:






If you get the JVS packs (with doors) you should get a set of events with them that do the following:

Restrict
Open/close
play sound

So you requested an event that when you click on a brick it opens a door, well when you download JVS the events come with it.


Yeah, I'm so used to saying the other thing, it's become a habit.

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: [Select]
[/] 0 OnActivate | door | Contentstart
To make a light switch:
Make a light and a switch. Name the light "light".
Make the events on your switch
Code: [Select]
[ ] 0 OnActivate | light | Setlight | NONE
[/] 1 OnActivate | light | Setlight | Player's light
[/] 2 OnActivate | Self | toggleeventenabled | [0 1]

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)

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.

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?

If anyone knows how to do any of that, please let me know.


someone please help.

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: [Select]
[/] 0 OnActivate | door | Contentstart
To make a light switch:
Make a light and a switch. Name the light "light".
Make the events on your switch
Code: [Select]
[ ] 0 OnActivate | light | Setlight | NONE
[/] 1 OnActivate | light | Setlight | Player's light
[/] 2 OnActivate | Self | toggleeventenabled | [0 1]

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)

Read please

It's an answer to my first. post.

I have tried search and was not successful. I need a link to the following. (If you know them).


Download Links :

The JVS switch and doors

A "yes" or "no" event   (if this isnt a download and its coding, please list what I have to do (activate- )  etc


Events I need help setting up :

An event that makes a button or bricks  make a door open.

An event that makes a button or brick turn a light on and off.

An event that makes doors only able to be opened by a certain person   and also one that can only be opened by a certain job.


read please.   -_-


I asked about 3 other questions, if you know the answer to any of them, I would really appreciate an answer.


no, I already have that. I really just need to know how to create an option path so the player can choose yes or no, to buy a weapon.
kinda like the bank, resource, and employment blocks menu's.