Ryuushu Posted December 17, 2016 Share Posted December 17, 2016 (edited) Basically, I'm trying to get the active wormhole when the player uses it from the client side. I was trying to hook into the player's stategraph and get it with FindEntities, but it says that sg is nil with the following: AddPlayerPostInit(function(inst) print(inst.sg) end) Am I missing something? Also, is there an easier way to do this? The wormhole pushes some events to the doer but I'm not sure if you can listen to them as a client. EDIT: Forgot AddStategraphPostInit is a thing. Also, FindEntities. Got it all working now. I'm still interested in the events though, to optimize things. Edited December 19, 2016 by Ryuushu Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now