Help - Search - Members - Calendar
Full Version: Ice Melt Script
The Nexus Forums > Specific Games > Oblivion > Oblivion Modifications > Mod Troubleshooting
armageddon818
ok, so i am making a spell which is used to let (specified) ice objects. so the outline for my script was as a spell. Supposed to work as:
on target, if the hit object IS the ice, display a message box
if it was NOT the specified ice, it shows a message saying that
inside the message box, do you want to melt it, yes, no
yes = disable ice block and remove cost item)
no = small spell that hurts player
(i'd have put the script here, but when i was tryng to fix it, i accidently saved it and dont remember what it was)

ISSUE: when you fire the spell, on any object NOT the specified ice, the message comes up telling you the spell wont work (good) HOWEVER, when you hit the actual ice, nothing happens. (BAD)

can somebody perhaps make such a script or tell me where i could have gone wrong? (i know that one would be difficult without the actual script
armageddon818
ok, if anyone wants to know to do the script themselves, the object ids for the stuff in the script are:
ice: aaaice
costing object: aaafiregem
refusal spell: aaarunerefusal

thanks
btw i used the getisid aaaice command

something like

begin scripeffectstart
if getisid aaaice == 1
messagebox "Destory this Ice?" "Yes" "No"
elseif getisid == 0
message "This is not Ice"
endif
endif
end

begin scripteffectupdate
ife getbuttonpressed ==0...

etc. (I realize i left out a lot of it but i think you get the jist of it) (also i know i left out the stuff for the message box including the variables, but they WERE in there in the first one.)
armageddon818
also, i wanted to make it the other way around too... for the ice people, i wanted them to be able to take the melted ice, and make it usable again. By that, however, i mean that in order to have the player know that the disabled ice was there, there would have to be a marker of some sort (puddle or something) that would become evident once the ice was disabled. this probably could be done just by me putting something underneath the ice though right? something that would become more visible once the ice was disabled? I think that is what i will do, however, i still need to make the original script of melting the ice to work first, before i can actually do that part.
armageddon818
never mind, i figured out what was wrong with it.
armageddon818
ran into more issues of course, please look at the ice creation issues thread that i posted earlier today. Why does no one ever give me any advice?!!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.