I have an item with a custom usage menu -- so when you place it in the champion's hand, you can click its "attack" icon and do different things with it.
I want some of these actions to also generate a message.
I tried adding an "Additional Action" to the "Convert -> Use" tab of my new item. The action is ACTION_OBJECT_ACTIVATE and the item it points to is a unique clone of the WALLITEM_SPEECH.
This clone is placed in the dungeon and has its text string assigned.
No message appears when I use the object.
What gives?
How do we make messages appear as the result of actions?
How to create text messages using actions and menus?
Moderator: George Gilbert
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- Gambit37
- Should eat more pies
- Posts: 13720
- Joined: Wed May 31, 2000 1:57 pm
- Location: Location, Location
- Contact:
OK, I solved it by having my attack method target a cloned relay that targets other objects that in turn do the things I want to do.
It seems that this is actually the best way of doing complex stuff, rather than having attack methods affect stuff directly -- that's only useful when you want ONE thing to happen.
Convoluted!
It seems that this is actually the best way of doing complex stuff, rather than having attack methods affect stuff directly -- that's only useful when you want ONE thing to happen.
Convoluted!
I think you hit the same snap we all did didn't you? For a convert to work, you need to have a convert occur - even if the convert is to the same item
Cloned relays/action items always seem to be best rather than creating an attack method to do the action itself first, it lets you sneak complexity in later
Cloned relays/action items always seem to be best rather than creating an attack method to do the action itself first, it lets you sneak complexity in later