Custom Script particle Media

Moderator: Moderator Group

Custom Script particle Media

Postby rubendesnoo » Sun Apr 03, 2016 11:16 am

Hi,

Trying to change media of a particle emitter in Pandora's box with a custom script button.
- DeviceSetparam,1,1,Particle System 2D|Particle Emitter 2D|Media,1.1

I have a connection, the media area highlighted in red after sending the script, but the image isn't loaded....
I did give my media an ID: 1.1
What is the correct value for this parameter? Name or ID ?

Could someone test this form me?
Maybe it is a bug, or I am doing something wrong.

Best regards

Ruben
Freelance interactive art production
The Netherlands
rubendesnoo@gmail.com

Widget Designer pro 4.0
rubendesnoo
 
Posts: 141
Joined: Thu Feb 17, 2011 4:10 pm
Location: Netherlands

Re: Custom Script particle Media

Postby sanderdegraaf » Sun Apr 03, 2016 2:56 pm

Syntax would be:

DeviceSetMediaParamByID,1,3,Particle System 2D|Particle Emitter 2D|Media,1,1

:)
sanderdegraaf
 
Posts: 3
Joined: Fri Sep 12, 2014 11:52 am


Return to Widget Designer V4.7

Who is online

Users browsing this forum: No registered users and 22 guests