Difference between revisions of "Text Input With OBSE"

2 bytes added ,  15:22, 1 February 2008
→‎Using the Script: "run OnActivate" flag added
imported>DragoonWraith
(→‎Limitations: obsolete limitation removed.)
imported>DragoonWraith
(→‎Using the Script: "run OnActivate" flag added)
Line 364: Line 364:


The text box will appear whenever the object that the script is attached to is Activated. So either place the Activator somewhere that the player will see and activate it, or use this code:
The text box will appear whenever the object that the script is attached to is Activated. So either place the Activator somewhere that the player will see and activate it, or use this code:
  ActivatorRef.Activate player
  ActivatorRef.Activate player 1


Further, the final block of code should be modified for your needs. It is important to remove the trailing tilde and reset the two short variables, but anything else is possible or optional.
Further, the final block of code should be modified for your needs. It is important to remove the trailing tilde and reset the two short variables, but anything else is possible or optional.