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 » Scripting Helpers
Home Search
 

Re: Lightning is not a valid member of DataModel

Previous Thread :: Next Thread 
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 01:03 PM
Mind explaining?

wuppii ~= Pie
Report Abuse
cool12309 is not online. cool12309
Joined: 21 Sep 2008
Total Posts: 1442
14 Jan 2012 01:03 PM
Mind explaining?
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 01:06 PM
Just an explaination of what that means..
Report Abuse
Jammintoad is not online. Jammintoad
Joined: 08 Feb 2009
Total Posts: 10239
14 Jan 2012 01:07 PM
I'm guessing this is a output.
Your looking for lightning in the DataModel but it's not there maybe? Or it's not a property of DataModel?
Try [Path to DataModel}.DataModel:findFirstChild("Lightning")
I think
Report Abuse
rangersmash is not online. rangersmash
Joined: 18 Nov 2009
Total Posts: 2891
14 Jan 2012 01:07 PM
[ Content Deleted ]
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 01:08 PM
My script:

for i = -1, 60 do
game.Lightning.FogEnd = 60
wait()
game.Lightning.FogEnd = i
end

-----------------------------------
Output: ->See title<-
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 01:09 PM
Oh, whoops, thank you for the correction.
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 01:11 PM
For some reason the fog isn't coming closer.
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 01:51 PM
HELPBUMP
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 02:01 PM
HELPBUMB#2
Report Abuse
Jammintoad is not online. Jammintoad
Joined: 08 Feb 2009
Total Posts: 10239
14 Jan 2012 02:03 PM
What do you want to do :l
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 02:30 PM
I want to make the fog come to me ( like if the wind is blowing it into my face.)
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 02:49 PM
Burp..I mean BUMP
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 03:20 PM
HELPBUMP#3
Report Abuse
xXxXxdragonxXxXx is not online. xXxXxdragonxXxXx
Top 100 Poster
Joined: 30 Dec 2008
Total Posts: 30113
14 Jan 2012 03:21 PM
FogEnd should be 250
FogStart should be 200

print(string.reverse'een ad ot zorra koot i ned') | ẋẌẋẌẋɖɾɒɠȏɴẋẌẋẌẋ
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
14 Jan 2012 03:24 PM
So, something like this:

for i = -1, 60 do
game.Lighting.FogEnd = 250
game.Lighting.ForStart = 200
wait()
game.Lighting.FogEnd = i
game.Lighting.FogStart = i
end

???
Report Abuse
xXxXxdragonxXxXx is not online. xXxXxdragonxXxXx
Top 100 Poster
Joined: 30 Dec 2008
Total Posts: 30113
14 Jan 2012 03:25 PM
sure.

print(string.reverse'een ad ot zorra koot i ned') | ẋẌẋẌẋɖɾɒɠȏɴẋẌẋẌẋ
Report Abuse
MrgamesNwatch is not online. MrgamesNwatch
Joined: 02 Feb 2009
Total Posts: 7729
14 Jan 2012 03:41 PM
for i = -1, 60 do
wait()
game.Lighting.FogEnd = i
game.Lighting.FogStart = i
end

these would continuously change the FogEnd and FogStart back to 250 and 200 making 'game.Lighting.FogEnd = i'
completely useless.

game.Lighting.FogEnd = 250
game.Lighting.ForStart = 200

~I've been to nil and back.
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
15 Jan 2012 06:31 AM
I Changed it to this:

for i = -1, 60 do
game.Lighting.FogEnd = 250
game.Lighting.FogStart = 200
end
--------------------------------------
Not entirely sure if that is correct, but it does not work as it should.

Report Abuse
1Ra is not online. 1Ra
Joined: 02 May 2010
Total Posts: 2400
15 Jan 2012 07:14 AM
for i = -1, 60 do
game.Lighting.FogEnd = i
game.Lighting.FogStart = i-50
end

fogstart and end should never be the same.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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