armageddon818 Posted June 7, 2008 Share Posted June 7, 2008 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 boxif it was NOT the specified ice, it shows a message saying thatinside the message box, do you want to melt it, yes, noyes = 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 Link to comment Share on other sites More sharing options...
armageddon818 Posted June 7, 2008 Author Share Posted June 7, 2008 ok, if anyone wants to know to do the script themselves, the object ids for the stuff in the script are:ice: aaaicecosting object: aaafiregemrefusal spell: aaarunerefusal thanksbtw 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 endifend 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.) Link to comment Share on other sites More sharing options...
armageddon818 Posted June 8, 2008 Author Share Posted June 8, 2008 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. Link to comment Share on other sites More sharing options...
armageddon818 Posted June 8, 2008 Author Share Posted June 8, 2008 never mind, i figured out what was wrong with it. Link to comment Share on other sites More sharing options...
armageddon818 Posted June 9, 2008 Author Share Posted June 9, 2008 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?!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.