newbiemodder Posted March 5, 2009 Share Posted March 5, 2009 Looking for help, again. I'm hoping for a script that will fire a .dlg file once a specific item(ex. lightsaber) is obtained by your pc. (TSL). Thanks. Link to comment Share on other sites More sharing options...
Star Admiral Posted March 5, 2009 Share Posted March 5, 2009 That would be the ActionStartConversation() function. The script will vary depending on how the item is obtained by the player. Is it given by another character, taken from a container, etc? - Star Admiral Link to comment Share on other sites More sharing options...
newbiemodder Posted March 5, 2009 Author Share Posted March 5, 2009 That would be the ActionStartConversation() function. The script will vary depending on how the item is obtained by the player. Is it given by another character, taken from a container, etc? - Star Admiral I would need one after obtaining from a placeable and one after purchase from a merchant. Thanks Link to comment Share on other sites More sharing options...
Malxados Posted March 5, 2009 Share Posted March 5, 2009 Im not sure about the merchant, but for the placeable (assuming its unique) you would use either the "OnOpen' or "OnClosed" script options when editing the .utp, or something like that. Lemme look up a script real quick... EDIT: here's what it might look like: void main() { ActionStartConversation(GetFirstPC(),"dlg_filenamehere"); } I'm sure Star Admiral could help you with any needed specifics. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.