LarryG on 15/2/2014 at 04:25
Is there a keyword way of targeting the player object with an NVScript, similar to the way that there is for targeting the object that the script is on ([ScriptName]TDest="[Me]"). I thought I remembered that, but I don't see it documented. Or was this just wishful thinking?
Yandros on 15/2/2014 at 06:04
_TDest="[player]" will work. Note that some scripts require _Target instead of TDest (those are designated "targetable" in the docs).
LarryG on 15/2/2014 at 06:21
Thanks. I'll add that to my annotated notes and hope that NV updates his notes on the next release (if any) of his scripts.
Nameless Voice on 15/2/2014 at 09:46
_TDest="Player"
Player is just a normal object, it's not some kind of special term like [Me], so lose the square brackets.
Daraan on 15/2/2014 at 13:52
interesting that player without "..." also works
Nameless Voice on 15/2/2014 at 14:07
What's "..."?
Daraan on 15/2/2014 at 14:10
TDest=player I meant
Nameless Voice on 15/2/2014 at 14:36
Oh, yes. The quotes are not technically needed, they just make the design notes much easier to read.
R Soul on 15/2/2014 at 14:54
We have been lied to! I trusted you NV! Who else is in on this great deception? Telliamed? GayleSaver? kdau? The Watcher?
Where do we go from here? Some tough decisions lie ahead. " or no "?
LarryG on 15/2/2014 at 15:06
Not so much lied to ...
Quote:
These scripts make use of the Editor->Design Note property in the same way as Telliamed's scripts:
From Telliamed's documentation: <b class="T2Only">
[INDENT] The Editor\Design Note property is used to specify most parameters for a script. The design note is a string that can be a list of parameters, or a single parameter by itself. A parameters is a keyword, followed by an equals sign (<kbd>=</kbd>), then an argument. The argument may be surrounded with single or double quotes. Multiple parameters are separated with a semi-colon (<kbd>;</kbd>). If you need to include a semi-colon in an argument, then it must be surrounded by quotes. A quote mark can be included by using the other type of quote mark to surround the argument, or escape the quote mark with a back-slash. (e.g. <kbd>'a \'quoted\' argument'</kbd>) When a script looks for an integer or flag parameter, you can have it read a quest variable. After the equals sign, type a dollar sign (<kbd>$</kbd>) and the name of the quest variable. There may not be space between the dollar sign and the variable name.
[/INDENT]</b>