Difference between revisions of "Talk:Cast"
Jump to navigation
Jump to search
imported>Reinhart menken (New page: Does this even work in Fallout 3? -reinhart_menken 23:31 PM, December 14, 2008 (EST)) |
imported>Reinhart menken |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Does this even work in Fallout 3? -reinhart_menken 23:31 PM, December 14, 2008 (EST) | Does this even work in Fallout 3? Tried using on activator and actor, no joy. Did a search, doesn't seem to be used at all in the whole game. -reinhart_menken 23:31 PM, December 14, 2008 (EST) | ||
:What was your code? Also, check the CS wiki link - there were quite a few Gotchas! with Cast. | |||
:--[[User:Haama|Haama]] 04:48, 15 December 2008 (UTC) | |||
::Code was this | |||
<pre>Begin ScriptEffectStart | |||
showmessage HeiGuiTestMessage3 | |||
if GetCombatTarget == player | |||
set self to getself | |||
if self.getlos player == 0 | |||
player.scaonactor | |||
player.CreateDetectionEvent player 50 | |||
showmessage HeiHuiTestMSG3 | |||
endif | |||
endif | |||
end</pre> | |||
:::I even used the console to make myself cast the spell, and I checked the opponent's getcombattarget and getlos, they both fit the condition; no message. I even used player.cast FlamerCritEffect (another spell), and no shader or flame as expected. Have you used cast successfully? ps. Thanks to whoever changed my format, I was trying to no avail to figure it out::--[[User:reinhart_menken]] 11:55, 14 December 2008 (EST) |
Latest revision as of 00:01, 15 December 2008
Does this even work in Fallout 3? Tried using on activator and actor, no joy. Did a search, doesn't seem to be used at all in the whole game. -reinhart_menken 23:31 PM, December 14, 2008 (EST)
- What was your code? Also, check the CS wiki link - there were quite a few Gotchas! with Cast.
- --Haama 04:48, 15 December 2008 (UTC)
- Code was this
Begin ScriptEffectStart showmessage HeiGuiTestMessage3 if GetCombatTarget == player set self to getself if self.getlos player == 0 player.scaonactor player.CreateDetectionEvent player 50 showmessage HeiHuiTestMSG3 endif endif end
- I even used the console to make myself cast the spell, and I checked the opponent's getcombattarget and getlos, they both fit the condition; no message. I even used player.cast FlamerCritEffect (another spell), and no shader or flame as expected. Have you used cast successfully? ps. Thanks to whoever changed my format, I was trying to no avail to figure it out::--User:reinhart_menken 11:55, 14 December 2008 (EST)