Rippling Water and VBS [solved]

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Rippling Water and VBS [solved]

Postby Simon » Fri Jun 29, 2012 10:56 am

Hi ! I want to use the rippling water effect to simulate heat on a frame. The effect works perfectly, but I can't find a function to activate or desactivate it when I want. So, is there a way to enable/disable the water fx via VBS code ?
Btw, the water fx still doesn't work with 360, right ?
Last edited by Simon on Mon Jul 02, 2012 11:09 am, edited 1 time in total.
User avatar
Simon
Expert Member
 
Posts: 418
Joined: Sun Jun 10, 2012 1:47 pm
Location: France

Postby lbq_bcn » Fri Jun 29, 2012 7:03 pm

Hi Simon.

Water The 360 does not know if it works. But what if I can give is a VB code to disable the WaterRippling. It's one thing I've researched on my own, but works for me. :oops:

Code: Select all
Sub Water_no
    RipplingWaterObject.Visible = False
End Sub

To enabled:

Code: Select all
Sub Water_yes
   RipplingWaterObject.Visible = True
End Sub



The above code can not run to start a frame. You must create an event of 0.5 seconds and then call the routine that I told you.
Code: Select all
Action.CreateTimedEvent 0.05, "Water_No", False


Hope this helps!.

Greetings!

Llu
User avatar
lbq_bcn
Member
 
Posts: 34
Joined: Tue May 15, 2012 10:50 pm
Location: Spain

Postby Simon » Sat Jun 30, 2012 9:31 am

Great !! It works perfectly !

Only change I made is removing the "False" at the end of
Code: Select all
Action.CreateTimedEvent 0.05, "Water_No", False

So it becomes :
Code: Select all
Action.CreateTimedEvent 0.05, "Water_No"

because the "False" is already in the Sub routine.
Don't know if I'm right when I do that, but it works...

I confirm that the water effect doesn't work with 360. I only tried with cylindrical, because I don't use the cubic one.

Problem solved !!!

Lluis, muchas gracias por tu ayuda !!! :D
User avatar
Simon
Expert Member
 
Posts: 418
Joined: Sun Jun 10, 2012 1:47 pm
Location: France


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests

cron