Jump to content

Weird hunh?


thebigba

Recommended Posts

this is the script

 

SCN Ilostmymind

 

short button

 

Begin onactivate

messagebox "I am losing my mind, Is there a way to fix this?", "Yes,take oblivion cs and burn it.", "yes, uninstall oblivion and forget about gaming." "No, you're a psychopath and lost your mind years ago , there is no hope for you.", "nevermind"

 

If getbuttonpressed == 0

Thebigba.moveto Imperial City mind recovery ward.

 

Else if getbuttonpressed == 1

thebigba.getisdead

 

Else if getbuttonpressed == 2

thebigba.coc toddtest

 

else if getbuttonpressed = = 3

end if

end

 

I need help...

Link to comment
Share on other sites

GetButtonPressed resets itself to -1 after you use the function. You're missing a "set button to GetButtonPressed" line, and you should probably have the check in GameMode. With everything in OnActivate, you'll have to activate it twice for there to be any effect.

 

If you do set the check up in a GameMode block, you'll probably want to add a "choosing" variable so it doesn't pick up button presses from unrelated messageboxes. Set choosing to 1 in the OnActivate block, and set it back to 0 when it returns a button, with it only checking for buttons when it equals one. Also, GetIsDead doesn't do anything unless you assign it to a variable, and "elseif" and "endif" are one word.

Link to comment
Share on other sites

GetButtonPressed resets itself to -1 after you use the function. You're missing a "set button to GetButtonPressed" line, and you should probably have the check in GameMode. With everything in OnActivate, you'll have to activate it twice for there to be any effect.

 

If you do set the check up in a GameMode block, you'll probably want to add a "choosing" variable so it doesn't pick up button presses from unrelated messageboxes. Set choosing to 1 in the OnActivate block, and set it back to 0 when it returns a button, with it only checking for buttons when it equals one. Also, GetIsDead doesn't do anything unless you assign it to a variable, and "elseif" and "endif" are one word.

 

 

Congratulations, You just volunteered to be my help buddy...

I need more insight into scripting, but am not seeing very many replies if any at all to posts I have made. Would you care to help in my problems with scripting? I don't learn as well from tutorials as I do from hands on but I have been doing both and still not getting very far :-) I need help, and you look like the person that knows what they are talking about. so what you think?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...