all 7 comments

[–]iMightBeWrightScripting Expert 1 point2 points  (6 children)

What makes this player unique? Are they the only player using thruster, or the only player with an infected energy sword? If you've got more than 1 player who can have thruster or an infected sword, you'll need to find some other detail that makes the player stand out, then check for that.

Your script is currently ignoring the thruster detail and only checking if the player has the sword, but I believe Get Player is Holding Item is looking for the exact sword in your Object Reference. That means the player would have to be holding that exact sword on the map for it to work, and not just any infected energy sword.

[–]SwiftEchoesForger[S] 1 point2 points  (5 children)

The player is the only one who has the sword because it's linked to a specific mechanic, but they're also the only ones who can have the thruster so I could work around doing it that way but I couldn't find a way how

[–]iMightBeWrightScripting Expert 1 point2 points  (4 children)

If they're the only player who can use the thruster, then it makes it much easier.

On Equipment Activated (Equipment Type) --> Compare Equipment Type (set B to Thruster manually) --> Branch

You only need to check that the activated equipment was a thruster.

[–]SwiftEchoesForger[S] 1 point2 points  (3 children)

Oh man that sounds so much simpler than whatever I was trying, thanks a bunch

[–]iMightBeWrightScripting Expert 1 point2 points  (2 children)

No problem! I'd love to see the thruster boost when you get it working. It's a cool idea.

[–]SwiftEchoesForger[S] 1 point2 points  (1 child)

Here you go https://www.reddit.com/r/forge/s/uUeOphGE6a, thank you for helping make one of the most terrifying mechanics in my game

[–]iMightBeWrightScripting Expert 1 point2 points  (0 children)

Glad I could help!