ramonfg95 Posted April 2, 2015 Share Posted April 2, 2015 Im making a vampire mod, and im having trouble creating a spellI want to make a wolf or skeever follow me ! thats it, no commands, no item trade nothing , just follow me and attack the enemycan someone help me? Link to comment Share on other sites More sharing options...
sLoPpYdOtBiGhOlE Posted April 2, 2015 Share Posted April 2, 2015 (edited) Create a Formlist with the types of creatures that will follow.Add a script to your projectile for the spell.In your script fill global variables for x, y, z with the projectile position. In the script that fires the spell check where your spell hits via the global variables and using FindClosestReferenceOfAnyTypeInList(), if there is a creature in the radius then use:YourCreature.SetPlayerTeammate().http://www.creationkit.com/FindClosestReferenceOfAnyTypeInList_-_Gamehttp://www.creationkit.com/SetPlayerTeammate_-_Actor That's the basic idea of it, but it could be done other ways.Sorry not to more specific, but I didn't feel like writing an example plugin without seeing what you already have done. Edited April 2, 2015 by sLoPpYdOtBiGhOlE Link to comment Share on other sites More sharing options...
ramonfg95 Posted April 3, 2015 Author Share Posted April 3, 2015 Im confused xDi will begin now Link to comment Share on other sites More sharing options...
Recommended Posts