Search
Username:
Password:
Register or Reset Password
Remove the ads!
Basic Triggers and Buttons
Difficulty: Beginner
Category: CS:S > MappingAuthor(s):
Did you create this? Request ownership


This is a toturial about how to make (basic) triggers and buttons

This is how to make triggers:
First you need to decide if you want your trigger to only work once or all the time.

1. If once: create a box of the tools/toolstrigger texture then tie it to trigger_once.
Then go to outputs and write the following:(Screenshot B) OnTrigger/your enties name/the function of your entie EXAMPLE: TurnOn/none.
Make sure to select fire once only. Then you are done.

Note:When you make a new entie it comes a new function up in the functions bar in outputs.

2. If all the time: create a box of tools/toolstrigger texture then tie it to trigger_multiple.
Go to outputs and write the following:(Screenshot C) OnTrigger/your enties name/the function of your entie EXAMPLE: TurnOn/none. Then you are done.

This is how to make buttons:

First you make a box of the tools/toolsinvisible texture then tie it to func_button .Then go to ouputs and write the followning:(Screenshot D) OnPressed/your enties name/the function of your entie EXAMPLE: TurnOn/none. Then you are done.
(Screenshot E) make sure to only select Use Activates in flags :)
Added: 2 years agoTags: basic, triggers, buttons
Feedback (5)
Chillinut .
Thumb me up, plz :)Y2M
Posted 1 year ago
You can download my combine gunshop and change the properties.. :)
azagedon .
Everyone loves elmo!Y2M
Posted 1 year ago
Like a bottel for my bar so he presses a button to spawn a bottel
Chillinut .
Thumb me up, plz :)Y2M
Posted 1 year ago
What kind of prop?
azagedon .
Everyone loves elmo!Y2M
Posted 1 year ago
How could i make a button spawn a prop? thanks.
Chillinut .
Thumb me up, plz :)Y2M
Posted 2 years ago
If you don`t understand something just ask :D
Add Feedback
Provide constructive feedback. What is "constructive"?
You cannot post yet!
Get involved on FPSB by posting your thoughts. Give authors your feedback to help them develop.

To post in this submission register or login.
Assessment
The community's verdict.
No assessments made... please vote!
You cannot assess yet!
Moderating FPSB is in your hands - when you assess a submission your vote determines its success or failure.

To vote on this submission register or login.
Stamps
This Tutorial in a nutshell...
Confusing
You cannot stamp yet!
Stamps let you apply characteristics to submissions to help others understand them.

To stamp this submission register or login.





Added by...
Chillinut .
Thumb me up, plz :)
Ranked 1263rd ( 5) with 1,497 points. 2 points behind Grape-shoot .

[+] Donate
Related Tutorials