Problems come when I dont that map - let's say I want to make a gameplay mod, where player will collect gold/money/bones/stuff from enemies and later will use this collected stuff to buy ammunition/health/powerups/etc. The only possible way to me is to make a menu powered by the conversation script, that will act as a shop. I can write the menu, but I really dont know how to call it without an map actor, that has assigned a Tag and a ConversationID. Problem is, that when I have a map, I can hack an inventory item to start conversation without walking to an actor and pressing USE. The point is that I build an sector outside the map area and place some actor there that acts as a dummy for script. Then I assign Tag and ConversationID to that actor. The conversation itself is called by script with "StartConversation(tag)", where "tag" is the tag of the dummy actor. The sript is called from an inventory item.
Problem is, when I want to make an gameplay mod, I cannt make the sector with dummy actor. So I need to know how to solve this. How can I call conversation from an inventory item? Is it even possible? Or do I need to use other way?
Assigning the conversation this way:
Code: Select all
Conversation
{
actor = "journal_item";
Page//1
{
Name = "TEST SHOP";
Dialog = "IT WORKS!!";
Goodbye = "\c[red][ EXIT ]";
}
}