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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
19 Dec 2013 08:36 PM
I want to have it to where when you have a tool equipped, everything you can use it on will have a selection box around it only you can see.

Possible?

Also i need to know if you can put selection boxes around models.
Thanks ;D!
Report Abuse
Lamboreborn is not online. Lamboreborn
Joined: 19 Jun 2009
Total Posts: 191
19 Dec 2013 08:50 PM
You'll have to put all the selection boxes into the PlayerGui and set the Adornee
to what you want surrounded. And I do think you can adorn models too, but try it out.
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
19 Dec 2013 08:58 PM
Thats dumb!
Why can you adorn to models?

;-;
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
19 Dec 2013 09:06 PM
can you adorn a bilboard gui to a position?
Report Abuse
Madified is not online. Madified
Joined: 19 Apr 2011
Total Posts: 5292
19 Dec 2013 09:11 PM
[ Content Deleted ]
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
19 Dec 2013 09:13 PM
an invisible brick would interfere with the click detector.
It is in a tool.
And the main function of the tool is to attach things to other things.

An invisible brick would stop this.
Report Abuse
shotgreen999 is not online. shotgreen999
Joined: 29 Nov 2009
Total Posts: 376
19 Dec 2013 09:56 PM
The first reply is the best answer and yes you can adorn models.
Report Abuse
CeaselessSoul is not online. CeaselessSoul
Joined: 03 Jul 2012
Total Posts: 7506
19 Dec 2013 10:16 PM
You can adorn to models. Why? Have you've seen a selection box around an entire model when you hover over something in Studio or click it? That's what setting the adornee to a model is like.

"U BROKE THE TV U IDIOT!" - CeaselessSoul
Report Abuse
nighttimeninja314 is not online. nighttimeninja314
Joined: 04 Apr 2011
Total Posts: 4001
19 Dec 2013 10:28 PM
true dat.
Report Abuse
FootBa11 is not online. FootBa11
Joined: 16 Sep 2008
Total Posts: 11501
20 Dec 2013 04:10 PM
When i try to adorn a selection box to a model it doesnt do anything qq
Report Abuse
qrrrq is not online. qrrrq
Joined: 27 Jan 2013
Total Posts: 1252
20 Dec 2013 04:11 PM
user error
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
20 Dec 2013 04:13 PM
Ceas, since when can you adornee selec. boxes to models O_o
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
20 Dec 2013 04:40 PM
Since always, cntkillme?

That is how games like Deadzone made their inventory things.

It's how I am doing it in my current project.

Although I keep my SelectionBox inside the users Camera. It is persistent in the Camera so yeah, any place that is local to the player would work.

--[Territory Conquest Developer, Valerian Studios Developer, Business Casual Narwhal Moai. ]]--
Report Abuse
Jetta765214 is not online. Jetta765214
Joined: 22 Oct 2008
Total Posts: 1855
20 Dec 2013 04:45 PM
Never tested it, but you may be able to use the TargetFilter from the mouse to ignore those parts.

It is completely possible if you using mouse.hit, but using clickdetectors, i dont know :/.
Report Abuse
DrWaffler is not online. DrWaffler
Joined: 16 Sep 2011
Total Posts: 4248
20 Dec 2013 04:52 PM
I use :GetMouse() but Tools suck big time (except their ability to have a custom mouse cursor :(

with :GetMouse() it's this easy

mouse = game.Players.LocalPlayer:GetMouse()

ignoreList = {
"Item1","Item2","Item3"
}

mouse.Move:connect(function()
for _,v in pairs(ignoreList) do
if mouse.Target.Parent:IsA("Model") and mouse.Target.Parent ~= v then
game.Workspace.CurrentCamera.SelectionBox.Adornee = mouse.Target.Parent
else
game.Workspace.CurrentCamera.SelectionBox.Adornee = nil
end
end
end)

Just make sure the stuff you want to have in a box is in a model, and make sure you have a selection box in the camera. You could do this the other way around, and have a list of things you WANT to have the box appear around, which is usually a better option.



--[Territory Conquest Developer, Valerian Studios Developer, Business Casual Narwhal Moai. ]]--
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