cooldamien Posted September 9, 2016 Share Posted September 9, 2016 (edited) I am new to modding and some help with my mod. I am trying to make a holotape that teleport the player to different locations. I have teleport function with visual effects working. Yea!!! My second question is I like to some ammo with the blue teleport effect. Can I modify my code below to do what I am asking. If so how would I do it. DamMSG02.show() utility.wait(0.001) Game.GetPlayer().PlaceAtME(TeleportOutPlayerFXExplosion) utility.wait(0.7) ;telport player Game.GetPlayer().MoveTo(Dam_Loc01) ; <-- Maybe Game.GetPlayer().PlaceAtME(ammo) ;how do this utility.wait(1.0) Game.GetPlayer().PlaceAtME(TeleportInPlayerFXExplosion) ;How do i get the effect to go around the ;the ammo tellport ;wait for fx to play a bit utility.wait(0.4)The last thing I wish for in this mod is a cool down timer for using each function. I have no idea how to go about doing this. Thank you for your help. Damien Edited September 9, 2016 by cooldamien Link to comment Share on other sites More sharing options...
TummaSuklaa Posted September 9, 2016 Share Posted September 9, 2016 (edited) Scriptname Dam_FacCheck extends ObjectReference Const ; This is missing a function/event body.. will not work unless placed in an event or in a function. ; The player is added to this faction at some point in the game. So use IsInFaction. if (GetPlayer().IsInFaction(InstituteFaction)) Debug.Trace("Relay access has been revoked") endIf Faction Property InstituteFaction Auto Const Edited September 9, 2016 by TummaSuklaa Link to comment Share on other sites More sharing options...
cooldamien Posted September 9, 2016 Author Share Posted September 9, 2016 (edited) I like to thank Finnish for his help. The code you gave me worked great! I still need help with a cool down timer an ammo being placed in front of the player with the teleport visual effect. Thanks Damien Edited September 9, 2016 by cooldamien Link to comment Share on other sites More sharing options...
Recommended Posts