I wanted the fire of the two boilers stay lit when you return.
And I wanted to keep that fire off when I get back, if I let off the fire.
I can not speak English so I apologize if I did not understand
Thank you.
Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support
Mystery wrote:I'm sorry but if I click your link, it comes empty, there is no image or document
If fire1_on=1 Then
Action.GoToFrame "pingo014 , .1 , 2
Else
Action.GoToFrame "pingo012 , .1 , 2
End If
Mystery wrote:
If you have the full version of Adventure Maker, then it would be easiest like this:
If fire1_on=1 Then
Action.GoToFrame "pingo014" , .1 , 2
Else
Action.GoToFrame "pingo012" , .1 , 2
End If
Mystery wrote:Yes, I think I know what the cause is, I have made a little error and forgot the " at the end of the frame name
Please change this code and add a " after pingo014 and pingo012:
- Code: Select all
If fire1_on=1 Then
Action.GoToFrame "pingo014" , .1 , 2
Else
Action.GoToFrame "pingo012" , .1 , 2
End If
Let me know if after this it works well
Mystery wrote:Okay PINGO TINTO
Mystery wrote:Look at this PINGO TINTO:
http://www.adventuremaker.com/help/vbsc ... #gotoframe
Mystery wrote:Haha, that's funny
Add Mrs. Mystery though
Glad I could help
Mystery wrote:Haha, that's funny
Add Mrs. Mystery though
Glad I could help
Mystery wrote:Of course you can
And thanks for the offer to help me if you can
Mystery wrote:Oh, thank you - I think that I'll to need an old 3D church.
I will contact you with an image (not yet), and you can say if you have time to do it
Mystery wrote:Great, thank you
Mystery wrote:Oh, thank you - I think that I'll to need an old 3D church.
I will contact you with an image (not yet), and you can say if you have time to do it
Mystery wrote:I have sent you a private message with an image yesterday
Didn't you receive it?
Mystery wrote:Okay PINGO TINTO
I have to quickly go to the store now, but when I'm back I will make screenshots for you step by step
EDIT
Here you go
For the first fire:
Step1
Create variable fire1_on
Step 2
Step 3
Step 4
Remove the settings on General Tab, leave it empty like this:
Step 5
Add script to Advanced Tab:
Step 6
Remove the settings on General Tab, and leave it empty like this:
Step 7
Add script to Advanced Tab:
___________________
Do it similarly for your second fire with a new integer variable fire2_on
Can you do it without help, or do you need help for the second fire, too?
reneuend wrote:if variables don't work, then its not using javascript. I thought the html version used javascript. look at the source and see if you can tell.
Return to Adventure Maker Technical Support and Bug Reports
Users browsing this forum: No registered users and 0 guests