Difference between revisions of "Talk:MessageBox Tutorial/Spell Scripts"
Jump to navigation
Jump to search
Talk:MessageBox Tutorial/Spell Scripts (edit)
Revision as of 13:37, 30 August 2007
, 13:37, 30 August 2007Responses
imported>ShadowDancer (New question) |
imported>Haama (Responses) |
||
|
::BTW, there is one small issue here that hasn't been explored yet (as far as I know). If someone clicked on a button and it hasn't returned from the '''GetButtonPressed''' and you run out of time, your Choosing will be positive on recasting of the spell. I am not sure if that button press will show up after the recasting of the spell. Do you have any idea about this? I am also adding in the dispel section that I wrote in the other Talk section of the original article so that when finishing the spell by choice it dispels the spell.
::--[[User:ShadowDancer|ShadowDancer]] 08:05, 30 August 2007 (EDT)
:::wrt Choice == -1: It just didn't come up while explaining the common mistakes. In fact, I have it in an extra [[http://cs.elderscrolls.com/constwiki/index.php/MessageBox_Tutorial:_Centralized_Decision_Catching|here]]. In a sense, I also didn't put it in because it would reduce some flexibility, but I can't really imagine a scenario where you would want one menu to use GetButtonPressed differently from another.
:::wrt Spells ending: Hmm... I know that the button press won't be returned to another object's script, and I don't think 2 spells would be any different, but I don't know. Maybe 2 iterations of the same spells on the same NPC/PC will work, but, yeah, I doubt it.
:::Is there a way to easily tell how much time the spell has left? Maybe if there's only 1 second left then it'll go ahead and cast the next spell? I don't really like 'GetSecondsPassed' too much, as it's CPU heavy, and I think 15 frames will be the important factor.
:::Also, if you cast the spell at a TargetRef near the player (say an activator over their head), that would prevent any Magic symbols from coming up, right? (or, really, if you cast this spell on the player, a symbol would come up, right?)
:::--[[User:Haama|Haama]] 14:37, 30 August 2007 (EDT)
----
--[[User:ShadowDancer|ShadowDancer]] 08:23, 30 August 2007 (EDT)
:Sounds good, but [http://www.bethsoft.com/bgsforums/index.php?s=&showtopic=628331&view=findpost&p=10853025 this post] is bugging me.
:--[[User:Haama|Haama]] 14:37, 30 August 2007 (EDT)
| |||