View Single Post
Old 03-07-2012, 01:24 PM   #135
UltimateHK47
Forumite
 
UltimateHK47's Avatar
 
Join Date: Nov 2011
Location: In a Galaxy, far far away...
Posts: 500
Current Game: Kotor 1
xp.nss
GiveXPToCreature(GetFirstPC(),500);
createit.nss
CreateItemOnObject("g_a_jediscout", oPC);
CreateItemOnObject("g_w_lghtsbr10", oPC);
falseboolean.nss
SetLocalBoolean(oTarget, SW_PLOT_HAS_TALKED_TO, FALSE);

All the same sort of errors, the, CreateItemOnObject
Trying one of my ideas, (when it comes to scripting im a duck)
it compiled. This :

void main()
{

GiveXPToCreature(GetFirstPC(),500);

}

Why is this?

This sais undeclared identifyer at oPC
void main ()

{
CreateItemOnObject("g_a_jediscout", oPC);
CreateItemOnObject("g_w_lghtsbr10", oPC);
}

And the same for oTarget
Required argument missing in SetLocalBoolean
Undeclared identifier SW_PLOT_HAS_TALKED_TO

void main()
{

SetLocalBoolean(oTarget, SW_PLOT_HAS_TALKED_TO, FALSE);

}

What eelse do you need to know?

PS: How does the boolean script work. i want it to check if you havn't said something, and if you havn't get the option to the dialouge entry I want said only once. Will it do that?


http://www.lucasforums.com/showthrea...12#post2807812
The Turret Arcade 1.2 ^^


USED TO BE KNOWN AS DARTH JANGO/WEASLEY

Last edited by UltimateHK47; 03-07-2012 at 01:38 PM.
UltimateHK47 is offline   you may: quote & reply,