Game authors and players, please read this thread!

Show Posts

You can view here all posts made by this member. Note that you can only see posts made in areas to which you currently have access.


Messages - Narulita

Pages: [1]
1
It works flawlessly now. Thank you all very much!

2
Boy am I a slow newbie, lol. I'll look through your tips now, sorry ^^

3
Uh, so i tried this:

[code]
function room_AfterFadeIn()
{
  SetBackgroundFrame(0);
}

function hKnapp_Interact()
{
  SetBackgroundFrame(1);
}
[/code]

Which works fine except for that the room is switching between the two backgrounds while loading, is there any way to avoid this?

4
So I want my character to be able to turn the lights off in a room after interacting with a light switch button that is on the wall. I created a hotspot for the button named hKnapp if that is of any importance. I'm not quite sure how to put this into the scripting. To make it clear, I want the lights to be on when the character first enters the room and off after he presses the button, not the other way around :)

Pages: [1]