Scripting the DXPlayer?

Can control of the player be scripted or just attached to objects via the abilities?

For example, a button will do some stuff AND turn on shuffle play. Simply attaching the shuffle ability would toggle it on and off, but I don't want this behavior. If it is on, leave it on. If it is off, turn it on.
3,874 views 2 replies
Reply #1 Top
Create an object(it can be invisible) name it and give it the shuffle ability. Then from another object in script call the object for example If myobject("shuffletest").state = "Shuffle off" then myobject("shuffletest").state = "Shuffle on". This isn't exact syntax but it should give you the right idea. ;) 
Reply #2 Top
DOH! :) I've checked states of other objects, but didn't think about setting them. Thanks!