lfnetwork.com mark read register faq members calendar

Thread: Scripting Question
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-30-2007, 02:15 PM   #1
Marius Fett
Frigged if I know!
 
Marius Fett's Avatar
 
Join Date: May 2007
Location: Wales
Posts: 3,378
Scripting Question

I'm Making A Mod For TSL And Need Help With A Script

I Need a Script To Give My PC Something

Will This Work?

Code:
void main()

{

int nQuantity = 1;
CreateItemOnObject("g_w_lghtsbr01", GetFirstPC(), nQuantity);

}
-DarthDingDong




Visit the new JediKnight.net!

Last edited by RedHawke; 10-30-2007 at 04:46 PM. Reason: Fixed code tags...
Marius Fett is offline   you may: quote & reply,
Old 10-30-2007, 03:58 PM   #2
Master Zionosis
Relax On Air
 
Master Zionosis's Avatar
 
Join Date: Sep 2006
Location: High In The Sky
Posts: 1,280
Current Game: TR 8: Underworld
Contest winner - Modding 
I beleive that script will work going over it, I can't see any mistakes though I'm not a super genius on scripts.

Master Zionosis is offline   you may: quote & reply,
Old 10-30-2007, 05:00 PM   #3
Marius Fett
Frigged if I know!
 
Marius Fett's Avatar
 
Join Date: May 2007
Location: Wales
Posts: 3,378
Thanks




Visit the new JediKnight.net!
Marius Fett is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Scripting Question

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:01 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.