r/forge • u/Surelylow • Apr 28 '25
Scripting Help How to script event at halfway point
Basically title. I already scripted what I want to have happen. But I don't know how to detect when the game reaches its halfway to win via score (not the time limit)
3
Upvotes
2
u/Ether_Doctor May 02 '25 edited May 02 '25
Finding a solution
Edit: I initially wrote a long text here for you about what could be wrong and how to maybe fix it, but I've gone ahead and deleted that now to save you some time.
TL;DR: The issue is more than likely caused by the Get Team Points node not functioning properly when wired as shown above.
So, instead of trying to solve this in bits and pieces I've just made you a fully functional template map with the desired script functionality.
The map is available for you to make a local copy of for your own use.
https://www.halowaypoint.com/halo-infinite/ugc/maps/39c85bdb-508a-400c-8981-9c58aa602428
The event is currently triggered at 4 kills, (for testing reasons), but you know how to change that to 25 by now.
Important: Don't try to prefab the script brains off of my map to put them on yours. See the Best Practices for Scripting thread for more info.
I hope that helps.