ScN KDBHandActivatorScript
short Touched
Begin OnActivate
if Touched == 0
MessageBox "Success! The script is working!"
Set Touched to 1
endif
if Touched == 1
MessageBox "This is the first time."
Set Touched to 2
endif
if Touched == 2
MessageBox "This is the second time."
Set Touched to 3
endif
if Touched == 3
MessageBox "This is the third time."
MessageBox "Text too long for one box?"
Cast KDBHandCold Player
Set Touched to 3
endif
End
Both as an item and an object, I keep having problems with the boxes skipping around. I'll go to test it, and the first box I get will be 3, or 2, sometimes 1, etc. Also, if you have too much text for one MessageBox, is this a good way to split it up or is there a better way?