Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Need a copule of scripts

Page: 1 of 1
 The Betrayer
09-14-2008, 12:23 AM
#1
I need a couple of scripts, namely:
-spawn script
-make 2 people hostile after dialog script
 Revnant
09-14-2008, 12:45 AM
#2
I also need those aswell. Also i'm kinda lost at home to place an npc. I found it before but now I cant. It anyone can help point me in the right direction i'd appreciate it. Also how do I make it so the only dialoge that I want to have for one area stay for that area, basicly I need a couple of basic dialoge stuff for recruit npc's.
 Emperor Devon
09-14-2008, 12:57 AM
#3
Spawning (insert your own coordinates in place of 0.0):

void main()
{
CreateObject(OBJECT_TYPE_CREATURE, "http://lucasforums.com/showthread.php?t=143536"), Location(Vector(0.0,0.0,0.0), 0.0));
}

Making NPCs hostile:

void main()
{
ChangeToStandardFaction(GetObjectByTag ("use the"), 1);
ChangeToStandardFaction(GetObjectByTag ("search function"), 1);
}
 Revnant
09-14-2008, 1:05 AM
#4
Yeah sorry I found what I was looking for, i just didnt look hard enough the second time thank you though.
Page: 1 of 1