Beam from Base to Base…
-
I am trying to beam a ship from one base to another. Unfortunate right now that is only working if the player is in space, but not when he is docked at a station or planet.
So i tried to look what flhook logs, when somone leaves a base and enters a base. So i tried to call these functions from the code, but it doesnt seem to work.
Server.LocationExit (oldroomid, clientid)
Server.BaseExit (oldstationid, clientid)
Server.BaseEnter (newstationid, clientid)
Server.LocationEnter (newroomid, clientid)I even tried with ForceLand and CharacterSelect, but nothing seems to work. So my question is: Has anyone ever tried this and could point me to the correct handling?
As usual thanks in advance.
-
I made a “move to connecticut” plugin for disco mod already
it beams you from one base to another, source in flhook’s svn I suppose, at least I saw it there
-
I’ve only got it to work via clienthook some long time ago (I force the player to undock). I’ve seen some new beam functions in cannons code, but don’t know for what exactly they are. Maybe you can test them out.
Edit: massdriver wrote what I meant. Had to leave while I was writing the post and finished it later