Script Help! -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 10 years ago

Ok so im workin on this mod for Kotor and im trying to figure out this problem im havin with this script, the script that when you open a door a dialog file fires. Script: void main() { object oPC = GetLastOpenedBy(); if (!GetIsPC(oPC)) return; int DoOnce = GetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF)); if (DoOnce==TRUE) return; SetLocalInt(OBJECT_SELF, GetTag(OBJECT_SELF), TRUE); object oTarget; oTarget = GetObjectByTag("NPC_TAG"); AssignCommand(oTarget, ActionStartConversation(oPC, "DLG_FILE")); }

it keeps saying Undeclaired Identifier "GetLocalInt" Undeclaired Identifier "SetLocalInt" thats on the kotor tool. can anyone help?




canderis

Renegade Commando

50 XP

17th March 2008

0 Uploads

177 Posts

0 Threads

#2 10 years ago

youd get better help if this was in modding and editing and/or hollowan lab fourms....