Help - Search - Members - Calendar
Full Version: a script question
The Nexus Forums > Specific Games > Morrowind > Morrowind Plug-Ins > TES Construction Set
ohGr
ok...for my graphical enhancement mod...it adds a few things as well, just things in general...now...im trying to figure out how to make a treasure cheast, that when you open it, a box comes up saying "you have a sudden sense of danger around you" and you loose 5 health...the script name is

"chestdanger"

yep...mindbogglling stuff right in that name dry.gif
Lord Of The Cheese
Begin Oh_ChestDanger

;if you want to

Short Done ;if you want this to happen every time you use the chest, remove this, the If ( Done == 1 ), the Set Done, and the last endif

If ( Done == 0 )
If ( OnActivate == 1 )
MessageBox, "You have a sudden sense of danger around you"
player->ModHealth -5
Set Done to 1
Activate
Endif
Endif

End
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.