Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: PEd1 on Mon 15/04/2024 20:33:10

Title: Give an item to a hotspot (in Tumbleweed template)
Post by: PEd1 on Mon 15/04/2024 20:33:10
So I've got a few characters in my game that are actually just part of the background art.
To set these up, I've got it so there is both a hotspot and a character.

The character is one transparent pixel and is in the same area as the hotspot.
When you "talk to" the hotspot, in the code the one-transparent-pixel character answers.

This is all working splendidly, EXCEPT for "GiveTo", which just doesn't work when trying to give anything to the hotspot.
It doesn't actually return any default responses to any hotspot in any room, and that's normally fine, but I want to be able to give items to this hotspot. So it just needs to work in this particular room.

Any way I can do this?
Title: Re: Give an item to a hotspot (in Tumbleweed template)
Post by: Khris on Mon 15/04/2024 22:44:03
I'd just remove the hotspots and use an actual character. The Tumbleweed template is hardcoded allow items to be given only to characters and fixing this is a huge pain.