antstubell Posted July 5, 2012 Author Share Posted July 5, 2012 This is gasti's script, plus a little extension. PS: I edited the script above a bit. Thanks, works perfectly. Link to comment Share on other sites More sharing options...
pauderek Posted July 6, 2012 Share Posted July 6, 2012 for the message you can use Debug.Notification("write your message here") So using the script that gasti posted and Ghaunadaur modified it will look like this: ObjectReference property TeleDest auto auto state BeginSate Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) if akNewContainer == Game.GetPlayer() Game.GetPlayer().MoveTo(TeleDest) Debug.Notification("write your message here") endif GotoState("Done") endEvent endState state Done ; Do nothing endState That will show a notification on the screen like the bounty ones when you hit a civilian Link to comment Share on other sites More sharing options...
gasti89 Posted July 6, 2012 Share Posted July 6, 2012 I think with "message" he means description. If yes, go in the item window, and write whatever you want in the "description" tab on the right. Link to comment Share on other sites More sharing options...
antstubell Posted July 6, 2012 Author Share Posted July 6, 2012 for the message you can use Debug.Notification("write your message here") So using the script that gasti posted and Ghaunadaur modified it will look like this: ObjectReference property TeleDest auto auto state BeginSate Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer) if akNewContainer == Game.GetPlayer() Game.GetPlayer().MoveTo(TeleDest) Debug.Notification("write your message here") endif GotoState("Done") endEvent endState state Done ; Do nothing endState That will show a notification on the screen like the bounty ones when you hit a civilian The message for a bounty only appears when the action is completed i.e. You kill a civilian/guard (action over) then bounty is implemented. This is not what I want as I need the player to always know that re-picking the item will result in a teleport. Will this script appear in the inventory under the item saying that dropping and re-picking up the item will always teleport?Both gasti's and ghaunadaur's scripts are perfect and I am still undecided which one to use as I'm not sure I want the player to be able to return to that cell. Link to comment Share on other sites More sharing options...
gasti89 Posted July 6, 2012 Share Posted July 6, 2012 (edited) If you want to make it run only once use Gaud's script. If you want the player to teleport everytime he picks up the item, use my script and write something in the item's "description" panel. If it's not working then you have to create an empty magic effect and assign it to the item. Let me know. Edited July 6, 2012 by gasti89 Link to comment Share on other sites More sharing options...
antstubell Posted July 6, 2012 Author Share Posted July 6, 2012 If you want to make it run only once use Gaud's script. If you want the player to teleport everytime he picks up the item, use my script and write something in the item's "description" panel. If it's not working then you have to create an empty magic effect and assign it to the item. Let me know. Both scripts work fine just I am undecided what I want the player to be able to do. Link to comment Share on other sites More sharing options...
Recommended Posts