The Endless Mission Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Admin noticeboard
Requirements
FAQ
Gameplay
Core Games
Adventure Mode
RTS Walkthrough
RTS Free Roam
Creative Mode
Editor Basics
Editor Glossary
Smart Objects
Templates on FANDOM
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
The Endless Mission Wiki
86
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Community portal
Recent changes
Admin noticeboard
Requirements
FAQ
Gameplay
Core Games
Adventure Mode
RTS Walkthrough
RTS Free Roam
Creative Mode
Editor Basics
Editor Glossary
Smart Objects
Templates on FANDOM
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
How do I add a Trigger Volume to Any Item
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
How do I add a Trigger Volume to Any Item
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Below is a tutorial on how to add a Trigger Volume to any '''Entity''' in The Endless Mission. {|style="height:30px;" |} {| | style="width: 1100px;" | === What is A Trigger Volume? === A Trigger Volume is a volume of space that can do one thing when you enter the volume, and another event when you exit it. You may also have the Trigger Volume be destroyed once you enter it, which is helpful if you only want something to happen the first time you enter a Trigger Volume. You can make this volume in the shape of a box, sphere, cylinder, or a capsule. # # |} {|style="height:30px;" |} {| | style="width: 1100px;" | === How to Add A Trigger Volume to An Existing Object === [[File:Trigger Volume.PNG|border|right|500px]] This section will detail how you can add a Trigger Volume to any '''Entity''' in the Endless Editor. If you do not have a game you are working in, open up "Barebones Game" in the Editor. # Drag in any Entity from the Endless section of your '''Library''' into the "Gameplay" section of your '''Project Hierarchy'''. Alternatively you can start with an empty Entity by right-clicking on "Gameplay" in your hierarchy and select "Create Empty" from the menu that appears. However, if you start with an empty Entity, you will have no visual indication of where the trigger volume is in your game (which may be desirable in some situations). For this example, we will be using "Roof Block 2x2" as our base entity we will be putting the trigger volume on. # Right click on the Entity that you created in the Editor (in this example it is "Roof Block 2x2"), and select "Create Empty". Rename this Entity you just made to "Trigger Volume Entity". This will be the Entity that has the Trigger Volume attached to it. # In the Endless filter tab of your Library, search for "TriggerVolume". Drag the script titled "TriggerVolume" onto "Trigger Volume Entity" in your '''Project Hierarchy'''. #You will now see a small green box appear on "Trigger Volume Entity". This green box is the trigger volume that can fire an "On Trigger Enter" event when you enter it, and an "On Trigger Exit" event once you exit it. #You can now resize "Trigger Volume Entity" by adjusting the scale in its inspector window. You may also reposition "Trigger Volume Entity" independently of whatever it is a child of. In this example, set the scale of "Trigger Volume Entity" to (7,7,7). # # # |} {|style="height:30px;" |} {| | style="width: 1100px;" | === On Trigger Enter Endless Event === When you add the TriggerVolume script to an '''Entity''', you will see two Endless Events appear, the "Trigger Enter" and "Trigger Exit" events. If you would like something to occur when you enter the trigger volume that you have in your scene, such as make a particle effect appear or make a platform move, you can add that event here. # # # |} {|style="height:30px;" |} {| | style="width: 1100px;" | === On Trigger Exit Endless Event === If you would like something to happen when you exit this trigger volume, you may put that event here. For example, you may have a light turn on with the "On Trigger Enter" event, and have it turn off on an "On Trigger Exit". This would create the effect of a light only being turned when you are inside of the trigger volume that you created. # # # # |} {|style="height:30px;" |} {|style="height:30px;" |} {| | style="width: 1100px;" | *'''[[Tutorials & Guides]]''' |} {|style="height:30px;" |} [[Category:Adventure Mode]]
Summary:
Please note that all contributions to the The Endless Mission Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab