Aller au contenu

Photo

set varible to mod


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

#1
bealzebub

bealzebub
  • Members
  • 352 messages
Hi, 
I'm trying to use a conditional area transitions script I found in the nwn2 wiki. It says " To use them,  set the variable to the module."
Here is the check for it:       int iVar1 = GetLocalInt(GetModule(), "iVar");

I'm using  ga_local_int to set the variable, but I'm not sure what to put for the sTarget.
is it the mod's name? Do I just put "module"? or do I have to assign the variable a different way?

#2
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
$MODULE

Use the following reference on how to refer to objects for more info, specifically the section named GA Script, Conversation Script

Modifié par painofdungeoneternal, 04 mai 2011 - 11:55 .


#3
bealzebub

bealzebub
  • Members
  • 352 messages
That reference is just what I needed, thanks.