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

Add FireTarget( "game_round_start" // code )) when a new round starts #2190

Open
oaus opened this issue Apr 22, 2019 · 3 comments
Open

Add FireTarget( "game_round_start" // code )) when a new round starts #2190

oaus opened this issue Apr 22, 2019 · 3 comments
Assignees

Comments

@oaus
Copy link

oaus commented Apr 22, 2019

Maybe we could add FireTarget( "game_round_start" // code )) and that should be called on each round so we can start making more complex gameplay changes without needing AMXX on it.

Like, on each round we can trigger "trigger_changetarget" so when a new round starts, a specific door will be opened and so on each round. (basic usage of this)

This can only be done with AMXX.

Ref:

FireTargets( "game_playerjoin", this, this, USE_TOGGLE, 0 );

FireTargets( "game_playerspawn", this, this, USE_TOGGLE, 0 );

FireTargets( "game_playerdie", pVictim, pVictim, USE_TOGGLE, 0 );

FireTargets( "game_playerkill", ktmp, ktmp, USE_TOGGLE, 0 );

FireTargets( "game_playerleave", pPlayer, pPlayer, USE_TOGGLE, 0 );

@oaus
Copy link
Author

oaus commented Apr 25, 2019

@kisak-valve can you add a Feature Request to this please?

@SamVanheer
Copy link

This should be added in CHalfLifeMultiplay::RestartRound at the very end. I don't think the career restart code that is executed after this can impact any round restart logic so there should be no need to put it after that.

@oaus
Copy link
Author

oaus commented May 16, 2019

@mikela-valve Is this possible?

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

4 participants