Difference between revisions of "Cross Script Variables"
Got rid of quote requirement statements and quotes.
imported>Bruneauinfo |
imported>Bruneauinfo (Got rid of quote requirement statements and quotes.) |
||
|
begin onActivate
set
set
set
end
That's it! Now associate this script with some object that can be "activated". When the player or an actor activates the object the values listed above will be assigned to the script variables in the quest script.
=== Reading a Value ===
begin OnActivate
set refVarRetrieved to
set floatVarRetrieved to
set ShortVarRetrieved to
MessageBoxEx "See my reference: %n See my float: %g See my integer: %.0f", refVarRetrieved, floatVarRetrieved, ShortVarRetrieved
</pre>
== Practical Applications ==
| |||