Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently October 2nd, 2024, 1:25 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: If Dropped Script
PostPosted: September 8th, 2005, 4:56 pm 
Offline

Joined: December 25th, 2004, 3:31 pm
Posts: 178
Hello All,

Currently making a drag and drop game via script. Is it possible to use a script function to check if an object is dropped. I just want to check if an object is dropped so when I mouse over it, it won't play the sound I've set to play when it isn't dropped.


Bye,

Joe


Top
 Profile  
 
 Post subject:
PostPosted: September 10th, 2005, 5:04 am 
Offline

Joined: November 28th, 2004, 6:05 am
Posts: 141
Location: USA
Hi Joe


Trigger 1 = This object dropped
Action = script
-------------------------------------
this.dropped = "yes"
-------------------------------------

Trigger 2 = Mouse over
Action = script
-------------------------------------
if(this.dropped != "yes")
{
MySound.Play()
}
-------------------------------------

HTH
Chris

_________________
Opus Resources and Services


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group