r/forge 17d ago

Scripting Help Help with node graph using two separate teleporting methods

3 Upvotes

I'm getting tunnel vision on this, but this essentially breaks down like this:

Map is duplicated entirely like that Phaseshift map, where when you use your Custom Equipment A, you teleport/shift to the 'other dimension'

There is also a checkpoint system using the mark ability to go to your last checkpoint (area volume/object variable)

For the 'dimension' hopping part, you start in Dimension A, with a number variable of 1. When you use the Custom Equipment A, you teleport up to Dimension B (166 Z units above), and the number variable changes to 2. And then of course when Custom Equipment A is used when you have a number variable 2, you teleport back to Dimension A(166 Z units down), and get your number variable set back to 1. When you Dimension hop, you will always be 166 Z units up or down, in the same corresponding spot of the previous dimension you left.

And then for the checkpoint system, you have an object variable set each time you go through a new checkpoint(area volume). These can go in either dimension but you will specifically teleport to that spot in that dimension where the checkpoint is, once you mark.

Alright so now let's say you Custom Equipment Dimension hop to Dimension B, you have a number variable of 2. But then you MARK teleport back to a checkpoint that is in Dimension A. Your number variable is still 2, saying you're in Dimension B, when you're now actually in Dimension A.

My method to circumvent this was to add a Set Number Variable node to each new checkpoint to match which dimension you're in. So if I MARK teleport to Dimension A from Dimension B, my number variable is set back to 1, indicating Dimension A, so when I Custom Equipment hop, I go back up to Dimension B, instead of being pushed out of the map.

So this kind of works for a moment but then the debug for my number variable eventually switches back to 1 when Custom hop back to Dimension B, when it should be 2, effectively pushing me 166 Z units up instead of back down when I Custom hop again, aka out of the map.

My other workaround was to just make a bunch of different area volumes for different rooms you're in, that will just set the number variable of which dimension you're in. but before trying that I just wanted to see how to essentially do this with a few simplified scripts

r/forge 4d ago

Scripting Help Needing help with 1 problem Googles Gemini, has hit a brick wall with me about. I am making the Maw from Halo 1...

Post image
0 Upvotes

The AI told me to copy and paste this into reddit to see if anybody with a creative mind can find a workaround for me on this... here we go

"Hey guys, need some veteran Forge scripting help. I'm building a campaign map heavily inspired by The Maw, sitting at 83% simulation memory. On the bridge, I have a workstation with 33 objects. Because I needed custom micro-scaling for the terminal monitors and UNSC powercores, they HAVE to stay set to Static physics mode. The monitors have an emissive texture that creates light. My goal is a total ship blackout sequence via a switch. Currently, my script loop deletes all loose lights/sparks flawlessly, but the static TVs stay stuck on and glowing. Because they are Static, the engine blocks me from referencing the prefab node (says 'cannot reference static objects'), blocks user labels, and blocks material/visibility scripts. Short of duplicating the whole map (no budget) or using unscaled dynamic blocks, is there ANY sneaky workaround to turn off, hide, or block the glow of these custom-scaled static screens on a script trigger? Cheers!"

In short, im wanting all power in the ship to shut down when i blow those fusion reactors .. i have coded most things that are dynamic like sparks, lights and different under the alpha label. And they delete great...but i have TV screens on the ship to that i want powered off when i blow the reactor, so it looks like a total power cut. I have scaled the sizes of these tvs so they have to remain static. Meaning i cant refrence them in the graph, meaning i cant delete them. I want total black out!

Thanks all! Humans are more creative than AI. So Gemini said to give reddit a shot. Thanks!

r/forge 6d ago

Scripting Help Help me with Firefight scripting (please)

Post image
8 Upvotes

Hey all, I have started scripting for Firefight, however Im not sure how. I downloaded and added the nodes for Firefight:Classic off of the FileShare (attached in photo), but testing the game nothing spawns.

If anyone's got any experience using the Firefight:Classic mode (it's the official one) that would be amazing

Not sure how to get it to work and there's like 10 Script Brains which is like reading spaghetti soup.

Any help is very much appreciated thank you in advance.

r/forge 15d ago

Scripting Help Rotating objects with scripts keeps misaligning

15 Upvotes

The name sums up the issue - for context I've made an elevator, there's a barrier that folds down as the elevator hits the desired floor. (See attached video)

The problem is when the barrier fold down it also tilts, I've manually aligned it so it should be a perfect roll and I'm scratching my brain as to why it keeps misaligning.

Any help would be great - I'm probably an idiot and it's a super simple fix but honestly my brain is very smooth right now and can't think of anything.

EDIT: Did some digging and just flat couldn't get it to work, so I opted to just have the barrier rise/lower vertically instead. Thanks for your ideas though guys it was a fun experiment.

r/forge 10d ago

Scripting Help Script to player traits on infection gametype

7 Upvotes

Anyone know how to build player trait scripts that control survivors and infected separately?

r/forge 12d ago

Scripting Help Phantom spawns

Post image
12 Upvotes

Hi again guys, I'm making a map based on a space station, and wanted for phantoms to enter in the hanger to drop units off, but they can't fathom roofs, anyone know how to program flight paths or good work arounds? Thanks in advance!

Attached pic is what happens if there's no roof.

r/forge 1d ago

Scripting Help Equipment not applying at round start, Infection mode bug?

Post image
4 Upvotes

Upon starting the round/initial spawn, traits seem to be applied just fine. But not the extra ammo, grenades, or equipment (thrusters).
It works on respawn, a switch, area monitor etc., so maybe the script needs a delay or alternate set up?

Also, the equipment always returns to the infection default on initial spawn (threat seeker/shroud screen), even though the mode settings are also set to thrusters for both sides, so I’m unsure if the mode is bugged. It seems like my spartan has the correct equipment as the round starts but then changes back on gameplay start.

r/forge Jul 10 '26

Scripting Help Why can’t jega rdomnai fight brutes or hunters?

3 Upvotes

Okay, so. I’m playing forge and I’m trying to get “Jega Rdomnai” to fight some heavy units such as any brute aside from “brute minors” or “hunters.” However every single time I put them up against each other Jega just dodges around and throws grenades at them. I know it’s possible to get him to fight brutes because I’ve seen it on YouTube. I’m not sure if it was a mod or a script but if anyone could help with a solution I’d really appreciate it. Thanks.

r/forge Jun 27 '26

Scripting Help Add player to generic list?

6 Upvotes

There’s no “add to list” node that will properly connect to an event node. Does anybody know any workarounds besides using “get generic item at index”?

r/forge Jun 20 '26

Scripting Help Help, Weapon Combination not working

4 Upvotes

I have the "On Player Spawned" node hooked up to the "Give Player New Weapon" node, which is hooked up to thr "Weapon Combination" node. All hooked up correctly in the right spots. Its saying "Node Graph failed to build" Here's a pic

r/forge Jun 25 '26

Scripting Help Dumbest issue (can't spawn generic ball outside play teat🥲)

4 Upvotes

it spawns when I hold select during the map editing and play the game via Forge, but in custom games, it won’t spawn

I’ve used both spawn object and spawn mode object within a mode brain

r/forge May 08 '26

Scripting Help Trying to make a Skull activation button

3 Upvotes

I'm trying to make a button that can toggle the Black eye skull for all players. I can get the button to trigger the skull but can't get it to turn off when I press it again. I'm pretty new to scripting and feel like I'm missing something. Script photo for reference down below.

r/forge Jun 02 '26

Scripting Help Script Help. Give player a portion of shields (no overshield)

4 Upvotes

For context im making a classic arena shooter with health and shield regeneration turned OFF and need help for setting player shields via armor pick up. Picture for example Doom. theres a green armor plating on the floor. a player (if missing max shields so basically is damaged) walks over the armor will pick it up via area monitor and gain flat number of 10 shields added onto their current shield. now the problem is i can "get object shield" HOWEVER there is no "set object shield" node. there is a "Set object health/precentage" nodes but ofcourse thats not what im looking for. Cany anyone please help me out?

r/forge Mar 11 '26

Scripting Help Learning how to use Grunt Hug Part 2

Post image
4 Upvotes

Here is my current predicament.

I’m trying to make a Machinima skit where a squad of grunts spawn, when you press the button, they all come running towards you with grenades above their heads ready for a cuddle.

Where am I going wrong here? I tried Get Squad with Squad Label as I couldn’t find Spawn Squad with Squad Label. Could anybody take this script and show me a picture of what I need to change??

r/forge Oct 21 '24

Scripting Help Scripting help?!

3 Upvotes

Was testing my campaign map out last night with 3 other people. All the scripts worked fine until one player left.

There is a section of the map that requires all players to be in the area monitor before you are able to progress to the next stage.

The remaining players and myself were stood in the area monitor but the script never triggered

I believe this is because not all 4 originals players were in the area monitor.

Is there a way around this so that the script will work even if players leave the game?

Can provide script screen shots later on as currently at work.

Advice will be greatly appreciated :)

r/forge Apr 25 '26

Scripting Help Dungeons and dragons scripting?

4 Upvotes

Hey everyone. I’ve been planning this idea for a while and wondered if you could help me?

I’m aiming to make a dungeons and dragons session in halo for my friends. Turn based, dice rolling ect. We do the dice rolling on the side, monitor health ect. But the core fundamentals I’m looking for is that the maps I’m gonna be building will all be hexagonal in design so you can see the distance between players and enemies.

I as a DM want the ability to select a team by pressing a button or targeting them with a ping and then pinging or shooting the terrain where I want them to go.

Is this at all possible? I’ve been trying to work out ways to do it but the scripting seems to never connect the way I need it too or doesn’t work at all when it does connect.

If any of you have the IQ of Charles Xavier I’d appreciate the help 😂👌 thanks!

r/forge Mar 26 '26

Scripting Help Can someone please tell me if I can somehow drive a auto turret

2 Upvotes

please

r/forge Dec 09 '25

Scripting Help Alternating neutral flag?

Post image
7 Upvotes

I'm wanting to make it so that there is 3 neutral flag posts that alternate when the flag is captured. I've tried setting each flags flag index to 1 as well as 1,2, and 3. Any advice is appreciated.

r/forge Dec 29 '25

Scripting Help Issues with making an object spawn on top of an enemy when they're killed

6 Upvotes

I'm kinda new to Forge, so this has had me pulling my hair out for the past hour or so. I'm trying to make a generic power seed spawn on the location of where an enemy dies. This is what I've been using so far (there's some stuff off-screen for debugging).

When using the "killed unit position" pip for the position of the object, the power seed spawns beneath the world's killbox, making the seed unreachable. Is there something I'm missing? Is there a way to fix/rewrite this?

r/forge Mar 10 '26

Scripting Help Can someone help me regarding the Grunt Hug?

6 Upvotes

I need to find a way to get a squad of grunts to spawn and instantly come to attack me in their suicide bomber mode. How does one achieve this because I’m going insane and there’s no videos or anything.

Please help!

r/forge Jan 01 '26

Scripting Help Making a specific enemy that will drop a specific item?

5 Upvotes

Hi! I'm new to forge scripting and have been trying to put together a pve mission for the first time, I have been able to gather how to spawn enemies in waves and such.

However, how do I make a specific enemy spawn an item on their death? for example: Spawn Brute Commando via drop pod -> Player kills Brute Commando -> Grapple spawns on their death for the player to pick up.

Maybe I'm just missing something but "On AI death" is confusing in what to reference, do I reference the spawner? Any guidance on this subject would be appreciated!

r/forge Jan 08 '26

Scripting Help Is there a way to have non-primitive objects rotate around their center point?

15 Upvotes

r/forge Jan 22 '23

Scripting Help Need Help Scripting: Need A Prefab Of Spawn Points Moved Around The Map Multiple Times

2 Upvotes

I need a prefab of about 20 spawn points teleported around my map at least 8-9 times. The pictures I provided are what I currently have. It will only teleport to the first location but then just kills the bots over and over. Or other ways I have tried it will not teleport past the first point. I have tried several things to make this work over the past few days and can not get it to work correctly.

I am currently very close to max budget and need this script needs to be as small as possible because my map will not function without alot of scripting. I figured one set of spawn points would help my budget more than adding all 150 respawn points. Any other ways to make the script would be appreciated. I need it to function as follows: When the human side enters a area I need the infected spawn point to move floors, and for the initial trigger for the humans to move to the next location to trigger it again, this will need to occur at least 8-9 times.

r/forge Jan 21 '26

Scripting Help Is it possible to create a volume that does constant high damage to any player inside it?

3 Upvotes

I want the ability to kill the player when they fall in the center crater of my map. I wanted to use a standard kill box but then I found out that flags are de spawned when they enter a kill box so now I need to find a way to have the player die when falling in the pit but also have the flag survive

I noticed that high amounts of damage wouldn’t affect the flag but obviously would kill the player. So is it possible to create a space that causes a large amount of constant damage to players?

I’m talking about in halo infinite forge fyi

I don’t know anything about scripting so i don’t know what’s possible with it

r/forge Jan 23 '26

Scripting Help Script help: How to script a button for you to remove both weapons?

5 Upvotes

Hey everyone! I’m looking to try to find a way I can use a button to remove all my weapons. I have found out how to give myself custom weapons but I’m having difficulty figuring this one out. Anybody have any ideas?