Jump to content

Home

Item/dialog script


newbiemodder

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...