Jump to content

Help with Lava and TranslateTo()


Recommended Posts

So I've been making a massive silo that has platforms moving in and out and swinging around at repeating seemingly random intervals and I have a water field that properly rises from the ground, but I want to make it lava. Problem is I can get the lava plane and water plane to move up but I cannot get the trigger box to follow the same path. Not sure how I could make a moveable trigger box. is there any way? would it maybe just make sense to use the lava script as a base and just convert it to check to see if the player is swimming and apply and remove it that way and just leave the whole area covered but conditioned out?

Link to comment
Share on other sites

Just make the trig box have a onupdate every 1-2 seconds and move to the water plane, provided you have centered the plane and the box is the right size it works fine, exactly how I do it in my bloody dungeon utilizing the exact bloody thing btw roflmao

Cept the platforms aren't super random and they fall a few seconds after the player jumps on them O.o

I havent tested if a trig box will detect if in a translate function but logic dictates it will as the player in a translateto fucntion triggers a trig box.

The downside to this is the trigbox will re-detect everytime moveto is called.

The trigbox should theoretically be moving with a translateto called on it, all my activators seem to move fine with that. I'll probably test at some point just make a blank cell and have a trig box that is moving back and forth and have it pop up a message if you enter, best easy way to fast test it

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...