antstubell Posted July 7, 2012 Share Posted July 7, 2012 Hi all.I have sevaral autoload doors placed beneath some platforms so that when player falls he/she is teleported back to solid ground. Problem is as the player approaches above the autoloaddoors the message "To cellname" appears. How can I stop this message displaying? Is there already a script in CK I can attach to the autoloaddoors?Thanks. Link to comment Share on other sites More sharing options...
Lucasistheman Posted July 7, 2012 Share Posted July 7, 2012 There isn't a script but instead you can create triggerboxes that teleport the player once they get close, this removes the text that appears and can be easily made like this: Scriptname teleportTRIGScript extends ObjectReference ObjectReference Property teleportMarker Auto Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == Game.GetPlayer() Game.GetPlayer().moveto(teleportMarker) endifEndEvent Whereas you make a trigger box with the T in the square in the Creation Kit and in the properties of that trigger box, set teleportMarker to were you want to send the player. If you have the Autoloaddoors there you might want to remove them and the door markers and replace the door markers with XMarkerHeading. Link to comment Share on other sites More sharing options...
antstubell Posted July 7, 2012 Author Share Posted July 7, 2012 There isn't a script but instead you can create triggerboxes that teleport the player once they get close, this removes the text that appears and can be easily made like this: Scriptname teleportTRIGScript extends ObjectReference ObjectReference Property teleportMarker Auto Event OnTriggerEnter(ObjectReference akActionRef) if akActionRef == Game.GetPlayer() Game.GetPlayer().moveto(teleportMarker) endifEndEvent Whereas you make a trigger box with the T in the square in the Creation Kit and in the properties of that trigger box, set teleportMarker to were you want to send the player. If you have the Autoloaddoors there you might want to remove them and the door markers and replace the door markers with XMarkerHeading.So I should remove the autoloaddoors and replace them all with defaultactivateselftrig boxes with that script attached? I tried connecting a door to an xmarker and when trying to select the xmarker in render window as the teleport location the recticle wouldn't light up in order to select it. I guess I'm not getting it. Link to comment Share on other sites More sharing options...
Lucasistheman Posted July 7, 2012 Share Posted July 7, 2012 Just create a new activator and call it whatever, give it that script and create a trigger box of that activator in the render window. From their double click the trigger box in the render window and edit the properties to your fancy. Doors will only allow you to use the Teleport To if you connect them to another door only, xmarkers are not doors so nothing will happen. Link to comment Share on other sites More sharing options...
antstubell Posted July 7, 2012 Author Share Posted July 7, 2012 Just create a new activator and call it whatever, give it that script and create a trigger box of that activator in the render window. From their double click the trigger box in the render window and edit the properties to your fancy. Doors will only allow you to use the Teleport To if you connect them to another door only, xmarkers are not doors so nothing will happen. I copied a trigger box and added the script, no teleport option in the trigger box options, I guess I just don't get it Link to comment Share on other sites More sharing options...
gasti89 Posted July 7, 2012 Share Posted July 7, 2012 Select a random object in your render window. The click on the box with a T inside up in the toolbar. In the window that pops up, scroll to the end and select "xmarker" A red box appears, move it and erlarge as you want. Double click on it and select "scripts". New script, copy the one by Lucas Fill the TeleportMarker property with the place you want to teleport to. Link to comment Share on other sites More sharing options...
antstubell Posted July 7, 2012 Author Share Posted July 7, 2012 (edited) Select a random object in your render window. The click on the box with a T inside up in the toolbar. In the window that pops up, scroll to the end and select "xmarker" A red box appears, move it and erlarge as you want. Double click on it and select "scripts". New script, copy the one by Lucas Fill the TeleportMarker property with the place you want to teleport to.I understand that but you're not understanding the layout, Imagine a classic platform game, jumping from platform to platform with nothing underneath you. You say click on a random object but there is no object under the platforms, just void. Edited July 7, 2012 by antstubell Link to comment Share on other sites More sharing options...
antstubell Posted July 8, 2012 Author Share Posted July 8, 2012 Select a random object in your render window. The click on the box with a T inside up in the toolbar. In the window that pops up, scroll to the end and select "xmarker" A red box appears, move it and erlarge as you want. Double click on it and select "scripts". New script, copy the one by Lucas Fill the TeleportMarker property with the place you want to teleport to. I got it, I got it, works now, Thanks to you both. Link to comment Share on other sites More sharing options...
Recommended Posts