Difference between revisions of "Talk:Casting Spells From An Activator"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Tegid
imported>Decoup
(Why does the first activator have to be in the air)
Line 18: Line 18:


Generally we don't sign changes to Wiki article changes themselves.  Certain pages we do (The Wish List and Questions), but normally it's just the Discussion pages. --[[User:Tegid|Tegid]] 08:12, 19 May 2006 (EDT)
Generally we don't sign changes to Wiki article changes themselves.  Certain pages we do (The Wish List and Questions), but normally it's just the Discussion pages. --[[User:Tegid|Tegid]] 08:12, 19 May 2006 (EDT)
== Why does the first activator have to be in the air ==
The activator that is created when you cast the spell is moved up 200 in the air.<br>
I have a few questions about this step...<br>
Why?<br>
How far up in feet is the movement of 200? Is it 200foot?<br>
If you move the object up 200 foot and cast an area effect of 200 foot, how does the spell manage to hit anyone?<br>
Why can't I force my character to cast the target spell on myself instead of the activator casting it on itself?<br>
Whats the difference? eg player.cast tutcalllightningspellscript player<br>
[[User:Decoup|Decoup]] 02:02, 20 May 2006 (EDT)

Revision as of 01:02, 20 May 2006

Thankyou for fixing it. I am still working out how to use a wiki. Now i know I can type here. ;)

Improvements

So from the example to stop the spell from hitting the player, I am guessing it would be fairly easy to add an extra piece of code to force the weapon to only attack enemys.

I have seen a mod somewhere which changes the detect life effect to show a different color based on the enemys intent towards killing you. I guess that means theres a command which would allow you to make it only hit npcs or creatures that are activly trying to get you.

If you made these changes than it would not matter if the spell does not force combat because the enemy is already in combat with you. You could even change the name of the spell to reflect the fact that it only harms those that would harm you.

I am still learning the scripting language and don't know how to do it yet, but if I figure it out i'll update the tutorial.

I love oblivion!

Please sign your comments as well, either the second from the last editing button (reading from the left to the right) or four ~'s. Welcome to the Wiki. I actually did some work for the Detect hostility spell, and if I recall, most of what it does it just check for IsInCombat Player (though I think it does some faction checking too). Yes you could set it to only attack those around the player who are currently enemies/attacking the player. However, I think the author's original intent is that the spell is a last resort spell you only use if you are really really, in bad shape. Of course if you're in a mine or dungeon alone, you would like to hit everyone even those not attacking you. That isn't to say that you can't take this spell and modify it to be what you want it to be, but it always pays to think about game balance.--Tegid 11:20, 18 May 2006 (EDT)

Thanks for the advice. Should I also put a sig if i make any changes to a wiki page? or just in the discussions? Decoup 01:44, 19 May 2006 (EDT)

Generally we don't sign changes to Wiki article changes themselves. Certain pages we do (The Wish List and Questions), but normally it's just the Discussion pages. --Tegid 08:12, 19 May 2006 (EDT)

Why does the first activator have to be in the air

The activator that is created when you cast the spell is moved up 200 in the air.
I have a few questions about this step...
Why?
How far up in feet is the movement of 200? Is it 200foot?
If you move the object up 200 foot and cast an area effect of 200 foot, how does the spell manage to hit anyone?
Why can't I force my character to cast the target spell on myself instead of the activator casting it on itself?
Whats the difference? eg player.cast tutcalllightningspellscript player
Decoup 02:02, 20 May 2006 (EDT)