Hello,
In my game I have a hotspot, Hotspot1, which is a door that I don't want to be available until after the main character finishes a conversation dSpy with the character cSpy.
I have managed to disable the hotspot using
Code: ags
which I put under the function room_Load () for the room where this is happening.
I am just not sure how to get it to become enabled after the conversation is done. I assume I use:
Code: ags
But I don't know where to put it. I have read through tutorials on scripting and looked at other forum posts about similar issues but the suggestions didn't work for me. And this scripting stuff is rather confusing for me. I know my question might be simple, but I've really tried to figure it out on my own.
I appreciate any help you can give me.
Thanks
In my game I have a hotspot, Hotspot1, which is a door that I don't want to be available until after the main character finishes a conversation dSpy with the character cSpy.
I have managed to disable the hotspot using
hHotspot1.Enabled= false;
which I put under the function room_Load () for the room where this is happening.
I am just not sure how to get it to become enabled after the conversation is done. I assume I use:
hHotspot1.Enabled= true;
But I don't know where to put it. I have read through tutorials on scripting and looked at other forum posts about similar issues but the suggestions didn't work for me. And this scripting stuff is rather confusing for me. I know my question might be simple, but I've really tried to figure it out on my own.
I appreciate any help you can give me.
Thanks