PWSetMinLocalIntPartyPCSpeaker

From NWN Lexicon
Jump to: navigation, search


PWSetMinLocalIntPartyPCSpeaker(string, int)

Sets a local integer variable for all players in GetPCSpeaker 's party.

Parameters

sVarName

The name of the local integer to test for.

nValue

The value to update sVarName to be.


Description

Sets a local integer variable for all players in GetPCSpeaker 's party.



Remarks

This function is a wrapper for PWSetMinLocalIntParty .

Each player in oPC's group is checked for a local integer named sVarName. If the group member's saved value for sVarName is less than nValue, then the local integer is updated to nValue on that group member.

Requirements

#include " nw_i0_plotwizard "


Version

???

See Also

functions: 

SetLocalInt



author: Baragg, editor: Mistress