[REQ] Papyrus - MagicEffect + Sound, How to?

Post » Mon Jun 18, 2012 4:52 pm

Hi people!

I'd like to ask for advice. I'm scripting a book, and I'd like it to produce a soul capture magic effect on the player and play a sound (the one that's played when you spend a perk point), when the OnRead() event begins. Also I'd like the book in question to remove itself from the inventory once it's opened, just like Spell Tomes.

Many many thanks for your much appreciated assistance :wink:
User avatar
Dalia
 
Posts: 3488
Joined: Mon Oct 23, 2006 12:29 pm

Post » Mon Jun 18, 2012 11:28 pm

Please? :D
User avatar
Pixie
 
Posts: 3430
Joined: Sat Oct 07, 2006 4:50 am

Post » Mon Jun 18, 2012 6:37 pm

You should be able to use http://www.creationkit.com/Cast_-_Spell, http://www.creationkit.com/Play_-_Sound and http://www.creationkit.com/RemoveItem_-_ObjectReference for all of those.

To make it work more generally, I'd recommend you pass the return value of http://www.creationkit.com/GetBaseObject_-_ObjectReference as a parameter of RemoveItem, instead of an extra property.

Cipscis
User avatar
remi lasisi
 
Posts: 3307
Joined: Sun Jul 02, 2006 2:26 pm

Post » Tue Jun 19, 2012 1:35 am

You should be able to use http://www.creationkit.com/Cast_-_Spell, http://www.creationkit.com/Play_-_Sound and http://www.creationkit.com/RemoveItem_-_ObjectReference for all of those.

To make it work more generally, I'd recommend you pass the return value of http://www.creationkit.com/GetBaseObject_-_ObjectReference as a parameter of RemoveItem, instead of an extra property.

Cipscis

I forgot to thank you for your solution, sorry! Thank you! :blush: :)
User avatar
Latino HeaT
 
Posts: 3402
Joined: Thu Nov 08, 2007 6:21 pm


Return to V - Skyrim