Changing blocks to a different colour with VBS SCRIPT.

This forum is meant for people to share their knowledge by writing their own tutorials for Adventure Maker.

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

Changing blocks to a different colour with VBS SCRIPT.

Postby mercedes » Thu May 15, 2008 1:03 am

Here is a project, I just had alot of help with..changing coloured blocks.
This was done with the help of Lyberdoggy.:) I'ts Lyberdoggy's code.

Example; RED-BLACK-GREEN-BLACK

Create 5 hotspots with Variables.

Depending on which colour you would load in the hotspot...for this particular code..you would have RED in the hotspot..If not RED, in the frame properties you would have to change variables..to match what colour you start the sequence with. Don't forget to put GREEN and BLACK and RED if you choose these colors in the Projects Folder.
Attachments
FRAME_PROJECT.JPG
Create 5 hotspots
FRAME_PROJECT.JPG (29.29 KiB) Viewed 4190 times
FRAME_PROJECT_8.JPG
What you put in the ADvanced tab of FRAME properties and a Screen shot Global Variables
FRAME_PROJECT_8.JPG (67.97 KiB) Viewed 4190 times
FRAME_PROJECT_1hotspot1-2.JPG
Hotspot-1 and 2 in the Advanced. Tab. Depending on which colour you start with..For this code the Colour variable is set to RED..You would have to change this in the frame properties to match what colour you want..First..to appear
FRAME_PROJECT_1hotspot1-2.JPG (59.76 KiB) Viewed 4190 times
FRAME_PROJECT_5hotspot3-4.JPG
Hotspot-#-3 and 4 in the Advanced Tab
FRAME_PROJECT_5hotspot3-4.JPG (50.28 KiB) Viewed 4190 times
FRAME_PROJECT_7.JPG
Hotspot #5 The EXIT hotspot in -Advanced Tab
FRAME_PROJECT_7.JPG (22.67 KiB) Viewed 4190 times
Last edited by mercedes on Sat Aug 09, 2008 10:10 pm, edited 6 times in total.
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby GM-Support » Thu May 15, 2008 3:58 am

Thanks a lot for posting this!
GM-Support
Forum Admin and Games Page admin
 
Posts: 2221
Joined: Thu Jun 05, 2003 7:52 pm

Postby mercedes » Thu May 15, 2008 4:14 am

Your very welcome...Thanks to you guys for all of your help in helping me solve it.. :lol:

You guys are a great help here..:)..For without you guys and all of your patience and kind guidance..I would not get alot done.. :lol:

And for that, I mention it in my games..as well..~
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~

Postby Lyberodoggy » Thu May 15, 2008 8:21 am

Thanks mercedes, it's always fun helping you and lets me gather experience...

Nice tutorial by the way...
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens


Return to Post Your Own Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests

cron