Hi
I know that Objects and Characters block Hotspots, but is there another way to allow Hotspots on Characters?
The Character does talk, otherwise I could embed on the Background.
I have set up several Hotspots that work with an Inv Item, but of course the Hotspot is activated off-set... I have placed the Hotspot dot in various places on inv item.
SCENERIO:
A Character is chained up (so unable to move) and is hit with a baseball bat, I wanted a different reaction depending on where he is hit.. and in a certain place the character spills the beans, as it were...
Example of one Hotspot I am using:
function hHotspot2_UseInv()
{
if(player.HasInventory(ibat))
{
johnny.Say("Ouch you son of a bitch. Ok, I'll talk!!!");
hHotspot1.Enabled = false;
hHotspot2.Enabled = false;
cEgo.Say("Tell us where Diva Maria is!!!");
}
else
{
johnny.Say("That won't work sonny!");
}
}
Cheers for any insight into this
barefoot
You could use just the head as character, draw the rest on the background, then use multiple hotspots.
If it needs to be animated, use an Object with its .Clickable property set to false.
Btw, the line needs to be
if (player.ActiveInventory == iBat)
Otherwise, everything can be used to give that result as long as the bat is possession of the player.
Yeah.. just spotted the Has inv instead of Active inv bit... lol
About the Head: That seems a great way....
thanks for the idea Khris
cheers
barefoot
UPDATE: Works a treat.... thanks......