of     3   
chevron_rightchevron_rightchevron_right

SigmaTech
#186620365Sunday, April 03, 2016 2:12 AM GMT

There are things in a game that essentially wastes processing space doing something that nobody is there to see. StreamingEnabled offered developers an option to only load parts to a client based on their computer power, but didn't reach its way to scripts. What would it do? ---------------------------------------------------------------------------------------- ".BeingObserved" would be an event of a brick that fires any time that any client sees the brick on their screen. It would return true or false for the state of being observed or not and table of observers. The event should fire every time the state is changed, including changes in the list of players viewing the brick. The difference between .BeingObserved and just cloning to local parts is the fact that the script will still be idling, whether local or server-side. Application in lag reduction ---------------------------------------------------------------------------------------- As it relates to lag reduction, .BeingObserved could be used by a developer to hybridize the activity of his or her script like so: {code} function onObservation(isInView, players) while isInView do --While being seen, do --repetitive strobe lighting that only worsens when more vehicles w/ lights are spawned print(unpack(players)) --print the player table for fun end end script.Parent.Part.BeingObserved:connect(onObservation) {code} Application in game development ---------------------------------------------------------------------------------------- For game developers, .BeingObserved goes way beyond lag reduction and could be used as a versatile, practical and very effective method of detecting that an object is on a user's screen. For instance, in a Slender game, the event could trigger the scary static screen (and staring timer) when looking at Slender. Doing this using proximity would not realistic, as the Slender NPC could easily be *behind* the player and still within the detection radius. You could even make a very good Medusa NPC by connecting the event to the NPC's eyes. Application in quantum mechanics (For the lulz) ---------------------------------------------------------------------------------------- For the experimental of folk, .BeingObserved can be used to collapse perceived reality when modeling the quantum-mechanical idea of Copenhagen interpretation. Ever heard of superposition? What about Schrödinger's cat? The basic idea is that, when a situation has 2 possible outcomes that are equally likely to happen, the outcome, until observed (sight, sound, etc.) exists in superposition, being BOTH outcomes at the same time. Human observation collapses reality into one outcome because superposition cannot be observed. --Schrodinger's cat dead = true alive = true function collapseReality(seen) --what a godly function name if seen then unstableIsotype = math.random(1,2) --1 = decayed, 2 = didn't decay geigerCounterDetectedRadiation = (function() if unstableIsotype == 1 then return true elseif unstableIsotype == 2 then return false end end) if geigerCounterDetectedRadiation then --kill cat dead = true --because of entanglement alive = false --because of entanglement else --don't kill cat dead = true alive = false end script.Disabled = true --Newtonion laws are happy now c: end end cat.BeingObserved:Connect(collapseReality) TL;DR: Make an server-side event that triggers (+returns a boolean & list (table) of players) when players are actively looking at a defined point-of-interest ΣTech
Reapper2
#186621133Sunday, April 03, 2016 2:23 AM GMT

Nicely stated and support. "No cats where harmed in this scripting"
rowerowe71
#186622458Sunday, April 03, 2016 2:44 AM GMT

Baseness
#186622796Sunday, April 03, 2016 2:48 AM GMT

You can already do this with LookVector and CFrame.
clubb12
#186623983Sunday, April 03, 2016 3:05 AM GMT

Support. kazuhira
XenonLi
#186624599Sunday, April 03, 2016 3:14 AM GMT

the suggested implementation of this code seems to be severely flawed, but i support
SigmaTech
#186624779Sunday, April 03, 2016 3:17 AM GMT

@Rowe Talking about a server-side thing ΣTech
SigmaTech
#186624884Sunday, April 03, 2016 3:18 AM GMT

@XenonLi Which code ΣTech
roun12
#186639067Sunday, April 03, 2016 7:36 AM GMT

All of my support.
[rfa#hidefromsearch]
#186639565Sunday, April 03, 2016 7:52 AM GMT

[rfa#hidefromsearch]
SigmaTech
#186640906Sunday, April 03, 2016 8:49 AM GMT

@Doge It seems like you have the fire spread virus lol... Some free models have it and people publish models unknowingly with the virus in it. ΣTech
TechFusion20
#186643581Sunday, April 03, 2016 11:13 AM GMT

Awesome. I support it.
ApertureC
#186644258Sunday, April 03, 2016 11:42 AM GMT

iSupport. New from Apple.
Enrxq
#186644803Sunday, April 03, 2016 12:07 PM GMT

Support
Daywatch
#186646606Sunday, April 03, 2016 1:06 PM GMT

@Doge there are fire remove commands you can find. Support
ChromaPlayer
#186646978Sunday, April 03, 2016 1:18 PM GMT

Support I am surprised this hasn't been in here sooner. and it would be amazingly effective for game creators. ChromaPlayer, Because I was bored (also because it was on the Pinewood Builders page)
Patchy319
#186649166Sunday, April 03, 2016 2:09 PM GMT

Support; Even Though I don't Code xD #Trump2016!1
Creepcruncher
#186649479Sunday, April 03, 2016 2:15 PM GMT

Support. Kebab Remover of OT.
Borsy
#186651178Sunday, April 03, 2016 2:44 PM GMT

hi всё хорошо) /translation/ Everything is http://chat.roblox.com/ :)
VascoNeto
#186651546Sunday, April 03, 2016 2:51 PM GMT

Support :)
Blockandblockagain
#186651791Sunday, April 03, 2016 2:55 PM GMT

Support
peteme123
#186651795Sunday, April 03, 2016 2:56 PM GMT

Well, generally Roblox is not that laggy of a game. With an average player frame rate being 30 fps, there really isn't a huge need for a lag reducer. Although I do have a fairly decent computer (MSI Gaming G Series), I do "lag" on more in-depth games such as "Phantom Forces". If these are the types of games you are talking about, I agree with you. I half support.
Borsy
#186651941Sunday, April 03, 2016 2:58 PM GMT

@pet this is a suggestion that scripters would use lets say you have an area that has a lot of scripting but lags the entire game with this suggestion you'd be able to deactivate the script if nobody is looking at the area and reduce lag всё хорошо) /translation/ Everything is http://chat.roblox.com/ :)
FattyGuinea
#186652925Sunday, April 03, 2016 3:15 PM GMT

Support. Seems to me like this will be similar to quantum physics in Roblox if the event only applies to objects being observed.
Lynbean
#186653359Sunday, April 03, 2016 3:22 PM GMT

Support.

    of     3   
chevron_rightchevron_rightchevron_right