Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Mehow

#1
Hello there,

I'm trying to figure out how to integrate (call) the steam_api.dll (delivered by Steam) file which is necessary in order to launch a game via Steam. Did anyone have an opportunity to do that?

Thanks :smiley:
#2
Yes, You're right - if there will be a situation that a given character stands over the hotspot, and a mouse is over a character (so is over a hotspot too) then it will trigger both conditions probably ;/. I returned to the first shape of Your script and did as You suggest and move the condition line with hotspot to the end, and it seems to work. I wonder why does it make a difference? - You know... when the hotpost line is the first line, then - the character condition doesn't work, but when it's the last line, both conditions work fine.
#3
Hey Wizard,

For some strange reason this part of script doesn't work or I'm doing something wrong ??? (there's a situation, where particular functions work on Hotspot click for example, but don't work on Characters clicking - they don't even start).

function DoPlayerInteraction(CursorMode mode)
{
    if (InteractedHotspot != null)
        InteractedHotspot.RunInteraction(mode);
    else if (InteractedObject != null)
        InteractedObject.RunInteraction(mode);
    else if (InteractedCharacter != null)
        InteractedCharacter.RunInteraction(mode);
}


...but, everything works just fine when each condition is autonomous :):

function DoPlayerInteraction(CursorMode mode)
{
    if (InteractedHotspot != null)
        InteractedHotspot.RunInteraction(mode);
    if (InteractedObject != null)
        InteractedObject.RunInteraction(mode);
    if (InteractedCharacter != null)
        InteractedCharacter.RunInteraction(mode);
}
#4
Never mind. I figured out. Thanks :)
#5
Crimson,

I have implemented your solution (step 1, 2), and it works just fine, but I've got problem with your second solution - somehow it does not work. I'm getting a message 'Cannot convert object to hotspot'.

:(
SMF spam blocked by CleanTalk