Logic winlose
Revision as of 16:37, 16 May 2019 by Johnny moe (talk | contribs) (Created page with "When activated, this will end the round immediately, with the specified outcome. == Keyvalues == '''Enable Slow Motion Effect?''' <choices> : Enables or disables the slow mo...")
When activated, this will end the round immediately, with the specified outcome.
Keyvalues
Enable Slow Motion Effect? <choices>
- Enables or disables the slow motion effect at the end of the round.
- 0: No
- 1: Yes
Enable Camera? <choices>
- Enables or disables an end round camera.
- 0: No
- 1: Yes
Custom Camera Vector <vector>
- Sets a custom position of the end round camera.
Win Music <sound>
- The music that plays when the human team have won the round. 'default' for normal function.
Lose Music <sound>
- The music that plays when the human team have lost the round. 'default' for normal function.
Inputs
input win <void>
- Humans win the game, map over.
input lose <void>
- Humans lose the game, map over.
input setendslomo <integer>
- Enables or disables the slow motion effect at the end of the round.
input setendcamera <integer>
- Enables or disables an end round camera.
input setendcamerapos <vector>
- Sets the vector for where the end round camera should go to.
input setwinmusic <string>
- The music that plays when the human team have won the round. 'default' for normal function.
input setlosemusic <string>
- The music that plays when the human team have lost the round. 'default' for normal function.
Outputs
output onwin <void>
- Called when humans win even if not by this entity.
output onlose <void>
- Called when humans lose even if not by this entity.