Difference between revisions of "Talk:Scripting Tutorial: My First Spell"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Callie
(RemoveAllItems)
imported>Mrflippy
Line 11: Line 11:


[[User:Callie|Callie]] 15:30, 12 April 2006 (EDT)
[[User:Callie|Callie]] 15:30, 12 April 2006 (EDT)
:--[[User:Mrflippy|Mrflippy]] 15:35, 12 April 2006 (EDT): Yes, that's what it does. This was a simple script example, and I wanted to do something interesting without going into spawning dynamic containers and returning the objects back to their rightful owners and all that. I don't even know if there's a way to make the NPCs reequip everything once they get it back. Maybe I should change the effect or put in a warning.

Revision as of 14:35, 12 April 2006

Good to see more tutorials coming together. When working on a project I like to set Oblivion to run in windowed mode by full screen more to 0 in Oblivion.ini. While you can't make changes in real-time, it does help you to spot fix problems and refer to scripts and settings without having to quit out of the game entirely. JBurgess 09:21, 8 April 2006 (EDT)

That's a good idea. I'll modify the tutorial. I'm not sure my poor computer could handle running Oblivion and the CS at the same time though :) Mrflippy 15:54, 8 April 2006 (EDT)

How would I do this exact same function, but with a one-time use scroll instead? I have tried everything to make a scroll. But in my testing, unable to get it into my inventory using additem or addspell. --Brainspackle 04:04, 9 April 2006 (EDT)

RemoveAllItems

Do you really want to use RemoveAllItems?

That seems a little drastic. Would that not cause the player's inventory to become blank when the spell is cast? If not, what does it do?

Callie 15:30, 12 April 2006 (EDT)

--Mrflippy 15:35, 12 April 2006 (EDT): Yes, that's what it does. This was a simple script example, and I wanted to do something interesting without going into spawning dynamic containers and returning the objects back to their rightful owners and all that. I don't even know if there's a way to make the NPCs reequip everything once they get it back. Maybe I should change the effect or put in a warning.