Jump to content

[CS GO SDK] func_button entities do not function properly when riding in the func_tracktrain they control.


Recommended Posts

Posted

Hey everyone,

I was working on a map in CS GO SDK and the func_buttons that are outside of the elevator (the func_tracktrain) function as intended and when you press the buttons INSIDE the elevator while you are not boarded they also work. However, stepping into the elevator causes them to no longer function. The developer console shows that it's attempting to start moving by failing to find the sounds that play for the func_tracktrain, the same thing happens when it DOES begin to move.

Another thing I should note is that the flag "Is Unblockable by Player" is CHECKED so I'm pretty much stumped on why this would be happening.

I could take some screenshots if you want to see them but I didn't think that would help the situation at all.

Posted

Have you tried reorganising it to move horizontally?

Or perhaps the buttons have different logic?

​Reorganising the elevator to move horizontally? I haven't, because that would essentially defeat my purpose here.

As far as the logic goes, they're all essentially identical. They all just have a setspeed of 100 and movetopathnode that puts them on the appropriate floor. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...