Aller au contenu

Photo

In GetVariableValueString(), what is the integer nIndex


  • Veuillez vous connecter pour répondre
4 réponses à ce sujet

#1
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Is it the position of the variable on the object? 

#2
The Fred

The Fred
  • Members
  • 2 516 messages
I haven't really used these, but if I remember correctly it's the index of the variable as in that variable's number. So if you only had one variable set on something, it would be 1 (I think). Essentially it's treating all the variables on the object like an array, and this function is getting the "nIndex-th" variable.

#3
_Knightmare_

_Knightmare_
  • Members
  • 643 messages
Check out the first post here from the old Bio forums: http://nwn2forums.bi...74331&forum=114

Modifié par _Knightmare_, 30 mai 2011 - 07:32 .


#4
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Thanks Knightmare. That's Just What I Needed.

#5
_Knightmare_

_Knightmare_
  • Members
  • 643 messages
No problem good buddy. :)