SetLocalFloatOnAll

From NWN Lexicon
Jump to navigationJump to search



SetLocalFloatOnAll(object, string, float)

Sets a local float variable on all members of PC's party

void SetLocalFloatOnAll(
    object oPC,
    string strVarName,
    float fValue
);

Parameters

oPC

Player Character

strVarName

local float variable name

fValue

floating point value to store


Description

Given a PC, variable name and floating point value, sets a local float variable on all members of the PC's party, including associates.



Remarks

Include library for party-wide functions.

NOTE: this library is included in "x0_i0_common" already.
Do NOT dual-include both files or you will get errors!


Requirements

#include " X0_I0_PARTYWIDE "

Version

1.61

See Also



 author: Peter Busby