90SK Posted January 6, 2005 Share Posted January 6, 2005 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? Link to comment Share on other sites More sharing options...
Darth333 Posted January 6, 2005 Share Posted January 6, 2005 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)); } Link to comment Share on other sites More sharing options...
90SK Posted January 10, 2005 Author Share Posted January 10, 2005 Cool, thanks. Lastly: I can't seem to find the .utp file for Tulak Hord's Sarcophagus. Does anyone know where its located? Link to comment Share on other sites More sharing options...
RedHawke Posted January 10, 2005 Share Posted January 10, 2005 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. I believe the module is kor_m38ab I know there is a Sarcophagus placeable in kor_m38aa, it is called k38a_sith_sarcop.utp! Link to comment Share on other sites More sharing options...
tk102 Posted January 10, 2005 Share Posted January 10, 2005 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. Link to comment Share on other sites More sharing options...
90SK Posted January 11, 2005 Author Share Posted January 11, 2005 I can't believe I missed that. Thanks for the help everyone! Link to comment Share on other sites More sharing options...
tk102 Posted January 11, 2005 Share Posted January 11, 2005 Eh, well, kor38b_medium1.utp isn't a very obvious name for a sarcophagus. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.