Difference between revisions of "User talk:Guidobot"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Nirnroot
(Script Spell help)
 
imported>Guidobot
(ans)
Line 2: Line 2:


thanks, Luis
thanks, Luis
Hi Luis. I answered a very similar question on the forums recently. There are three ways to bring in summoned creatures depending on if/how you feel they need to be cleaned up afterwards. IMO the best way is to use CreateFullActorCopy and DeleteFullActorCopy. This requires that you create a (hidden) copy of a base critter and a persistant reference to it first but has the advantage that you can customize it easily (size, stats, AI, etc.). CreateFullActorCopy also fades in the actor over ~2s like a regular summons and, because it also creates a new base object, you can rename it (and do other customizations) on the fly (i.e. from scripts). However, this method will not copy over any attached script so you need to add an ability spell or scripted item to them (perhaps several frames or a second after creation). Unless you make them target the nearest actor, or whatever, you will normally do need to do this anyway because you wont have the typical summons-type control over them. You could have the player cast a command spell on them but this will animate. [[User:Guidobot|Guidobot]] 14:16, 24 May 2007 (EDT)

Revision as of 13:16, 24 May 2007

Hey! I'm planning on creating spells where i summon more than one NPC/Creature at once. And then i plan to reward these spells to the player upon reading a scroll. Do you have any tips or tutorial scripts for script effects on sumoning Multiple creatures/NPC's?

thanks, Luis

Hi Luis. I answered a very similar question on the forums recently. There are three ways to bring in summoned creatures depending on if/how you feel they need to be cleaned up afterwards. IMO the best way is to use CreateFullActorCopy and DeleteFullActorCopy. This requires that you create a (hidden) copy of a base critter and a persistant reference to it first but has the advantage that you can customize it easily (size, stats, AI, etc.). CreateFullActorCopy also fades in the actor over ~2s like a regular summons and, because it also creates a new base object, you can rename it (and do other customizations) on the fly (i.e. from scripts). However, this method will not copy over any attached script so you need to add an ability spell or scripted item to them (perhaps several frames or a second after creation). Unless you make them target the nearest actor, or whatever, you will normally do need to do this anyway because you wont have the typical summons-type control over them. You could have the player cast a command spell on them but this will animate. Guidobot 14:16, 24 May 2007 (EDT)