Closed ghost closed 3 years ago
I was going to report an issue for this. But I found out what the problem was, and after modifying and compiling it, it worked fine for me, so I created this PR, hope you don't mind.
OSTW code:
rule: 'My Rule' if (IsButtonHeld(HostPlayer(), Button.Interact)) { PlayEffect(AllPlayers(), PlayEffect.AnaBioticGrenageNoHealingSound, Color.Team1, Vector(0, 0, 0), 200); }
Workshop script:
variables { global: 0: _extendedGlobalCollection 1: _arrayBuilder player: 0: _extendedPlayerCollection } // Extended collection variables: // global [0]: _arrayBuilderStore // Class identifiers: rule("My Rule") { event { Ongoing - Global; } conditions { Is Button Held(Host Player, Button(Interact)) == True; } // Action count: 1 actions { Play Effect(All Players(Team(All)), Ana Biotic Grenage No Healing Sound, Color(Team 1), Subtract(Left, Left), 200); } }
Error when paste this in game:
danke
I was going to report an issue for this. But I found out what the problem was, and after modifying and compiling it, it worked fine for me, so I created this PR, hope you don't mind.
OSTW code:
Workshop script:
Error when paste this in game:![1](https://user-images.githubusercontent.com/74082054/110695608-1012cb00-8225-11eb-9c58-96270ed1c4ea.png)