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.

Placeable Question

Page: 1 of 1
 90SK
01-06-2005, 2:29 PM
#1
I checked the stickies, but couldn't find anything (or perhapse I just overlooked it). My question is: how do I spawn a placeable in-game? I know it involves scripts, but how exactly?
:confused:
 Darth333
01-06-2005, 3:09 PM
#2
Same way as an NPC, simply replace OBJECT_TYPE_CREATURE by OBJECT_TYPE_PLACEABLE:


void main(){
if(!GetIsObjectValid(GetObjectByTag("my_object_tag")))
CreateObject(OBJECT_TYPE_PLACEABLE, "my_object_tag", Location(Vector(0.00, 0.00, 0.00), 0.0));
}
 90SK
01-10-2005, 5:25 PM
#3
Cool, thanks.:)

Lastly: I can't seem to find the .utp file for Tulak Hord's Sarcophagus. Does anyone know where its located?
 RedHawke
01-10-2005, 7:15 PM
#4
Originally posted by C. Skye
Lastly: I can't seem to find the .utp file for Tulak Hord's Sarcophagus. Does anyone know where its located?
Just a guess here... but it probably is in the Module for Tulak Hord's Tomb. :D

I believe the module is kor_m38ab ;)

I know there is a Sarcophagus placeable in kor_m38aa, it is called k38a_sith_sarcop.utp! :D
 tk102
01-10-2005, 7:23 PM
#5
findrefs -pT Sarcophagus
[korr_m37aa_s.rim]
korr_m37aa_s.rim kor37_sithsarc.utp LocName
'Sith sarcophagus'
[korr_m38aa_s.rim]
korr_m38aa_s.rim k38a_sith_sarcop.utp LocName
'Sith Sarcophagus'
[korr_m38ab_s.rim]
korr_m38ab_s.rim kor38b_medium1.utp LocName
'Sith Sarcophagus'

And based on what Redhawke said, it must be the last one.
 90SK
01-11-2005, 2:56 AM
#6
I can't believe I missed that.:doh:

Thanks for the help everyone!:D
 tk102
01-11-2005, 5:29 AM
#7
Eh, well, kor38b_medium1.utp isn't a very obvious name for a sarcophagus. ;)
Page: 1 of 1