lfnetwork.com mark read register faq members calendar

Thread: npc spawn
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 07-25-2011, 10:20 AM   #1
iamyourdad
Rookie
 
iamyourdad's Avatar
 
Join Date: May 2011
Location: in a starship
Posts: 66
Current Game: KOTOR 2 TSL
npc spawn

how would a script be for when you get to a part a module a npc spawns?


Iamyourdad has been killed by Darth Real Life...
iamyourdad is offline   you may: quote & reply,
Old 07-25-2011, 10:36 AM   #2
newbiemodder
Gentleman Modder
 
newbiemodder's Avatar
 
Join Date: Feb 2009
Location: Chicago
Posts: 706
Veteran Modder 
a creature spawn script, as well as many other scripting questions, can be found in the above Scripting Tutorial section.


Who's more foolish, the fool or the fool that follows?

Just exactly what is a head-piece to the Staff of Ra?

http://www.lucasforums.com/showthread.php?t=206819

http://www.lucasforums.com/showthread.php?t=206541

http://www.lucasforums.com/showthrea...t=newbiemodder
newbiemodder is offline   you may: quote & reply,
Old 07-25-2011, 10:52 AM   #3
iamyourdad
Rookie
 
iamyourdad's Avatar
 
Join Date: May 2011
Location: in a starship
Posts: 66
Current Game: KOTOR 2 TSL
yes but how do get the script to fire when a npc dies?


Iamyourdad has been killed by Darth Real Life...
iamyourdad is offline   you may: quote & reply,
Old 07-25-2011, 10:57 AM   #4
Fastmaniac
Rookie
 
Fastmaniac's Avatar
 
Join Date: Aug 2009
Location: Germany
Posts: 164
Every Creature has a script built in called OnDeath. It is specified in the .utc file of the creature. I've never tried it but it is worth a try.
Fastmaniac is offline   you may: quote & reply,
Old 07-25-2011, 11:28 AM   #5
iamyourdad
Rookie
 
iamyourdad's Avatar
 
Join Date: May 2011
Location: in a starship
Posts: 66
Current Game: KOTOR 2 TSL
thanks


Iamyourdad has been killed by Darth Real Life...
iamyourdad is offline   you may: quote & reply,
Old 07-25-2011, 03:00 PM   #6
Gorgod
Rookie
 
Gorgod's Avatar
 
Join Date: Nov 2010
Location: x 71.706936, y -42.6
Posts: 86
Current Game: Sex
Quote:
Originally Posted by Fastmaniac View Post
Every Creature has a script built in called OnDeath. It is specified in the .utc file of the creature. I've never tried it but it is worth a try.
I'm using the OnDeath script quite a bit in Recruit Nara. Just replace the NPC's original OnDeath script in the .utc file with the script that you just wrote.


Gorgod is offline   you may: quote & reply,
Old 07-27-2011, 03:10 AM   #7
Qui-Gon Glenn
Necessary Roughneck
 
Qui-Gon Glenn's Avatar
 
Join Date: May 2007
Location: Thessia
Posts: 1,465
Current Game: ME3MP, Arkham Origins
Folder extraordinaire Helpful! Forum Veteran Veteran Modder 
Also, simply search our forums here for "OnDeath" or "GetIsCreatureDead" and you will find what you are looking for.


Want to play a game of ME3MP?
Qui-Gon_Glenn on the software of which we shall not name.... add me and the enemy shall fall in chunks of crimson salsa
Qui-Gon Glenn 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 > npc spawn

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 12:56 AM.

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