Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SetObjectTextBubbleOverride does not work in creature bodies / loot bags #674

Open
Sarceez opened this issue Oct 14, 2024 · 0 comments
Open
Labels
game Issues with the game code.

Comments

@Sarceez
Copy link

Sarceez commented Oct 14, 2024

Describe the bug

The function does not seem to run when the container is a creature type object. It does not matter if this function is called on death, or on the creature's equipment when they spawn.

You can confirm this simply by putting this in the creature's death handler

        // Drop droppable inventory
        object oItem = GetFirstItemInInventory(OBJECT_SELF);

        while (oItem != OBJECT_INVALID) {

            SetObjectTextBubbleOverride(oItem, OBJECT_UI_TEXT_BUBBLE_OVERRIDE_REPLACE, "INVENTORY BUB TEST");
            SetName(oItem, "Test Complete Inventory");

            SetDroppableFlag(oItem, TRUE);

            oItem = GetNextItemInInventory(OBJECT_SELF);

        }

The item names will change, but will have no bubbles.

Custom content or overrides used

No response

Game version

.36

First seen on game version

.36

OS

Windows, Linux

Distribution

Steam

@Sarceez Sarceez added the game Issues with the game code. label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
game Issues with the game code.
Projects
None yet
Development

No branches or pull requests

1 participant