generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: 31 letters, why doesn't it work?

Previous Thread :: Next Thread 
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
24 Sep 2016 06:24 PM
I really hate how the roblox forum deletes "enter" spaces.
Report Abuse
iIikeyou is not online. iIikeyou
Joined: 07 Mar 2012
Total Posts: 1659
24 Sep 2016 06:25 PM
what is wrong
Report Abuse
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
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
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
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
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
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
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
24 Sep 2016 06:32 PM
its not hard, you just dont want to learn how to use it lol
Report Abuse
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
24 Sep 2016 06:36 PM
0.5 is a placeholder fyi, all of the emitters have their own unique transparency values.
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
24 Sep 2016 06:37 PM
"I really have to define a local line"
what the heck does that even mean lol
Report Abuse
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
24 Sep 2016 06:48 PM
lol NumberSequence NumberSequence.new()

what the heck is this
Report Abuse
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
24 Sep 2016 06:56 PM
Whats on the webpage that you shared with me?
lol?
Report Abuse
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
24 Sep 2016 06:57 PM
Constructor #1
Report Abuse
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
24 Sep 2016 06:59 PM
~ giving
Report Abuse
Wunder_Wulfe is online. Wunder_Wulfe
Joined: 13 Sep 2016
Total Posts: 8356
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
CostumeBlitz is not online. CostumeBlitz
Joined: 22 Feb 2010
Total Posts: 381
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image