Triforce1 Posted June 27, 2009 Share Posted June 27, 2009 I am working on a mod that adds a number of unusual mounts to the game, plus a few familiar ones. Each creature has sort of an evil spin to it, and the vendor who sells them to you is a Conjurer hiding from his fellow mages because they disprove of his work. There are currently 11 mounts that you can purchase from him, and due to this number I feel that a "clean-up" spell is necessary. You see, none of the summons are timed. They are more "teleport" spells that anything else. Summoning them again merely moves them to the player. The creatures are all teleported from an initial holding cell, and I want the un-summon spell to send all the summoned mounts back to this cell. Also, another script could use some work. Can anyone give me a command string that will deposit a certain item in the player's inventory the first time he/she casts the summoning spells?Each one individually, something I can add to the start of each one. I figure a little mount instruction could go a long way, particularly for those that do not swim. :P Thanks! -Triforce1 Link to comment Share on other sites More sharing options...
Vagrant0 Posted June 28, 2009 Share Posted June 28, 2009 It might work a bit better to just use some scripting on each of the mounts to make them return to their holding cell once the player gets out of a certain range (about 1000 units) of the mount. This should be enough to allow for people to get off the mount and fight fodder without having to resummon, while still removing the horse while it is not in use. I believe the last used horse will still be brought in automatically when fast traveling. Just be sure to add some conditions to the summon spell so that the horse can only be summoned within those worldspaces that support horses (tamriel). Link to comment Share on other sites More sharing options...
Triforce1 Posted June 28, 2009 Author Share Posted June 28, 2009 Alright, I'm slowly getting the hang of this scripting thing. I added components to the script to make it impossible to summon the mounts outside. Also, if the player walks inside, the mounts will go away and need to be re-summoned. You are correct about the last ridden horse being brought with you when you fast travel. However, I still do not know how to make the summoning spells dispel when the player gets a certain distance away. Perhaps someone could jot that down here? Link to comment Share on other sites More sharing options...
SophieAspen Posted July 5, 2009 Share Posted July 5, 2009 Presuming that your summon spells are actually spells...If you have a quest script running, you can safely add a condition on distance between the player and your mounts and inside it put something like player.removespell "your-spell-name".If you don't have a quest script, perhaps a condition can be put into the scripts that are on the mounts, in this case each should check its own distance to the player.Theoretically it's possible to put the condition and the included command into the spell's own script, in the block where the spell updates, but I won't guarantee it being safe. Link to comment Share on other sites More sharing options...
Recommended Posts