Deleted2746547User Posted July 20, 2011 Share Posted July 20, 2011 Trying to move player from ground (exterior) to rooftop marker (exterior) via ladder (and ability to go back down)... but cant seem to get it to work.. Any thoughts? Ladder has script attached and is linked ref to marker.... Is this the right direction or am I completely off base... scn RPCROOFLadderSCRIPT ;Supposed to move player from ground exterior to roof exterior marker via ladder ref ActivatingActorref LinkedMarker begin OnActivate set ActivatingActor to GetActionRef if ActivatingActor == PlayerRef Activate else Set LinkedMarker to GetLinkedRef ActivatingActor.MovetoMarkerWithFade LinkedMarker endif end Link to comment Share on other sites More sharing options...
Glenstorm Posted July 20, 2011 Share Posted July 20, 2011 Try using this code instead on the OnActivate block: set ActivatingActor to GetActionRef if ActivatingActor == Player Set LinkedMarker to GetLinkedRef ActivatingActor.MoveTo LinkedMarker endif I have never done this sort of scripting before so this is a shot in the dark. But try it anyways. Maybe it will work. Link to comment Share on other sites More sharing options...
Deleted2746547User Posted July 20, 2011 Author Share Posted July 20, 2011 @Glenstorm... thanks so much for replying... I will definitely give it a try..... the mod I'm building (the wip) is posted @ http://www.newvegasnexus.com/downloads/file.php?id=42744 (FYI) Thanks for your help.. hopefully that will work... :) Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted July 20, 2011 Share Posted July 20, 2011 Just create a door that uses the ladder mesh. There is probably already one existing that you can use.Put one on the ground and one on the roof.Tick the teleport box on one and choose the other as the target. Link to comment Share on other sites More sharing options...
Deleted2746547User Posted July 20, 2011 Author Share Posted July 20, 2011 Just create a door that uses the ladder mesh. There is probably already one existing that you can use.Put one on the ground and one on the roof.Tick the teleport box on one and choose the other as the target. Thanks for replying... funny that, i was actually looking at another post you made (maybe a while ago) and was about to send you a PM.. :) Link to comment Share on other sites More sharing options...
Glenstorm Posted July 20, 2011 Share Posted July 20, 2011 No problem, by the way, even if that works, you will need to expand on it to allow player companions to pass through the marker. That code (if it works) only transports the player. Hmm, I just checked the script attached to the exterior ladder at hoover dam (same thing you are trying to do) and its exactly the same as your first script. So the problem is not with your script. It should be something else. On an entirely different note, why do you need to write an entirely new script? You could just use the door markers VHDExteriorLadder (ground piece) and VHDExteriorLadderFake (rooftop piece) which are already marked as door markers and just link them up (UtlHallBgEndSewerExLad02: Static piece which looks like the rooftop part of an exterior ladder; might want to use it right behind the rooftop marker since the rooftop piece is invisible). Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted July 20, 2011 Share Posted July 20, 2011 Making it a door will fix the follower problem too. Link to comment Share on other sites More sharing options...
Deleted2746547User Posted July 20, 2011 Author Share Posted July 20, 2011 Hmmmm... for some reason I can't get it to work... it wont let me link the doors? Link to comment Share on other sites More sharing options...
Deleted2746547User Posted July 20, 2011 Author Share Posted July 20, 2011 that is, it wont let me teleport from one door to the next.. Link to comment Share on other sites More sharing options...
Quetzlsacatanango Posted July 20, 2011 Share Posted July 20, 2011 You may have to make it persistent first, I can't remember if that's the case with doors. Link to comment Share on other sites More sharing options...
Recommended Posts