Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom triggers #97

Open
SmileyAG opened this issue Dec 24, 2019 · 3 comments
Open

Custom triggers #97

SmileyAG opened this issue Dec 24, 2019 · 3 comments

Comments

@SmileyAG
Copy link
Contributor

Is it possible to implement custom triggers like in BXT? This will make the comparison easier segments of various runners and also helps stop segments automatically when the trigger is touched

@lipsanen
Copy link
Collaborator

lipsanen commented Dec 28, 2019

How do the custom triggers in BXT work? Do you have to remake them every time you load a save? Is a trigger deleted after you enter it for the first time? What do custom triggers do exactly, do they fire console commands or something else?

I'm not very educated in custom triggers w/ BXT so I would like a quick summary on how they work.

@YaLTeR
Copy link
Owner

YaLTeR commented Dec 28, 2019

You add a trigger which runs a console command when the player enters it. It's not removed it disabled automatically, only when you do it manually.

@YaLTeR
Copy link
Owner

YaLTeR commented Dec 28, 2019

You can probably take these two files with little change https://github.com/YaLTeR/BunnymodXT/blob/master/BunnymodXT/custom_triggers.hpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants