|
| 24 Sep 2016 06:23 PM |
| machineGunMain.P0.Transparency = 0.5 -- Enabled = true and Enabled = false work perfectly fine, so why does transparency cause the script's ### to go to its brain? |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:24 PM |
| I really hate how the roblox forum deletes "enter" spaces. |
|
|
| Report Abuse |
|
|
iIikeyou
|
  |
| Joined: 07 Mar 2012 |
| Total Posts: 1659 |
|
| |
|
|
| 24 Sep 2016 06:26 PM |
| The script ceases to function when I try to have it change transparency of a particle emitter. But when I have it just enable it and disable it, it works fine. So why does the script line not work? Did I spell something wrong? |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:27 PM |
Transparency is not a Number It is a NumberSequence
http://wiki.roblox.com/index.php?title=API:NumberSequence |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:30 PM |
But none of the particle emitters are using an "actual" sequence
Did roblox delete the ability to just use normal transparencies as single numbers? so
transparency = 1 wait(5) transparency = 0.5
will not work anymore?? |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:31 PM |
Dude.. http://wiki.roblox.com/index.php?title=API:Class/ParticleEmitter/Transparency
read the wiki next time |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:32 PM |
you can just do
NumberSequence.new(0.5)
since it allows you to make one using just 1 point
but if you wanted to make different transparencies it takes much more |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:32 PM |
| I'm not a scripter. I just know what basic transparency is, not this over-complicated bs to achieve one number. |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:32 PM |
| its not hard, you just dont want to learn how to use it lol |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:34 PM |
I really have to define a local line for every single ####'ing transparency value I want to use for every single emitter?!
machineGunMain.P0.Transparency = 0.5 machineGunMain.P1.Transparency = 0.5 machineGunMain.P1b.Transparency = 0.5 machineGunMain.P2.Transparency = 0.5 machineGunMain.P3.Transparency = 0.5
gg-trash-blox |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:36 PM |
| 0.5 is a placeholder fyi, all of the emitters have their own unique transparency values. |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:37 PM |
"I really have to define a local line" what the heck does that even mean lol |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:44 PM |
--[maximum overcomplcated mode activated] local val2 = 0.3 local Trans0 = NumberSequence NumberSequence.new(float val2) <-- this is erroring btw local val3 = 0.9 local Trans1 = NumberSequence NumberSequence.new(float val3) local val3 = 0.2 local Trans1b = NumberSequence NumberSequence.new(float val3) local val4 = 0.6 local Trans2 = NumberSequence NumberSequence.new(float val4) --[maximum overcomplcated mode complete] machineGunMain.P0.Transparency = Trans0 machineGunMain.P1.Transparency = Trans1 machineGunMain.P1b.Transparency = Trans1b machineGunMain.P2.Transparency = Trans2 machineGunMain.P3.Transparency = 0.5 -- ect
It means this. |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:48 PM |
lol NumberSequence NumberSequence.new()
what the heck is this |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 06:56 PM |
Whats on the webpage that you shared with me? lol? |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2016 06:59 PM |
| I mean I am grasping at straws here I have no idea what I am doing, and you seem completely against actually me an example that works. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Sep 2016 07:01 PM |
Um NumberSequence is what it returns and NumberSequence.new is the function lol you need to read better |
|
|
| Report Abuse |
|
|
|
| 24 Sep 2016 07:04 PM |
omf, why does this stupid requirement ALSO NEED ITS OWN ####### FUNCTION
Roblox has forsaken me.
All I want is to have my emitter transparency go from
(0.9, 0.2, 0.3, 0.5, 0.8) to 1
WHY IS THIS SO COMPLICATED! |
|
|
| Report Abuse |
|
|