help with script to summon specific creature with pushbutton

Post » Sat Mar 05, 2011 3:02 am

OK, so I'm building me a sort of practice room and I'd love to be able to set up a few push buttons to summon a creature of each soul level for trapping purposes as well as for general practice and leveling etc. In a perfect world it would place the creature in the center of the room on the practice mat with a little effect of some type, and the body would disappear after I killed it, but this is definitely not mandatory. I have the room finished, I'm just a greenhorn noob with scripting. If I could see the script for one soul type I could probably edit it for each of the others. I don't even need a random creature for that matter. In other words, for a grand soul, it could summon a Gloom Wraith every time for all I care. I'm mostly interested in the level of soul than the actual creature.

Thanks!
User avatar
Emily Jeffs
 
Posts: 3335
Joined: Thu Nov 02, 2006 10:27 pm

Post » Sat Mar 05, 2011 8:41 am

Follow http://cs.elderscrolls.com/constwiki/index.php/Scripting_Tutorial:_Summoned_Creatures, but set the scripts as Object Scripts and use Begin OnActivate Player instead of Begin ScriptEffectStart. That should do the job.
User avatar
Trey Johnson
 
Posts: 3295
Joined: Thu Oct 11, 2007 7:00 pm

Post » Sat Mar 05, 2011 2:11 pm

Follow http://cs.elderscrolls.com/constwiki/index.php/Scripting_Tutorial:_Summoned_Creatures, but set the scripts as Object Scripts and use Begin OnActivate Player instead of Begin ScriptEffectStart. That should do the job.


Thank you Vyper, that is very, very helpful! The more I study this, the more I am leaning towards creating the cast spells in the tutorial as opposed to the push button. That way I can simply use them wherever I am instead of just in my practice room.

One of the main goals is to help manage my soul gems and not end up with petty souls in grand gems etc. So I think this will work nicely if I just create a separate spell for each soul type. So, that leads to stupid question # 1.

Do I need to create a seperate holding cell for each creature, or will one suffice for holding all five of them? (I'm at the office right now and cannot pull it up in the CS to see how it all goes together.)

Thanks again!
User avatar
Jack
 
Posts: 3483
Joined: Sat Oct 20, 2007 8:08 am

Post » Sat Mar 05, 2011 8:36 am

Woohoo! This is badazz, thanks for the linky again Vyper. I got a spell for every soul type working and all is well. (This is much more flexible than the push button I was thinking of at first!) I just placed all of the critters at 0, 0, 10 in my cage cell and there don't seem to be a problem with that that I can see. Is there anything you (or anyone else) can see with that being an issue? Everything else is pretty straight forward I think.

Thanks again, and I'm looking forward to optimum soul gem management now!
User avatar
Philip Lyon
 
Posts: 3297
Joined: Tue Aug 14, 2007 6:08 am

Post » Sat Mar 05, 2011 5:59 am

Is there anything you (or anyone else) can see with that being an issue?

Nothing wrong with it at all. I have multiple custom summons and all of them are in the same 'holding cell'. I have not encountered any problems with that setup.
User avatar
Jeremy Kenney
 
Posts: 3293
Joined: Sun Aug 05, 2007 5:36 pm


Return to IV - Oblivion