|
| 06 Jan 2012 11:12 AM |
16:48:33 - Selected is not a valid member of Seat 16:48:33 - Script "Workspace.AircraftSeat.Aircraft", Line 282 16:48:33 - stack end
^OUTCOME^
vSCRIPTv line 282
bin.Selected:connect(onSelected)
this is an aircraft script what should seleted be ? |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2012 11:19 AM |
| bin is a seat. Perhaps you should set bin equal to a hopperbin? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
1WOOF1
|
  |
| Joined: 03 May 2009 |
| Total Posts: 20682 |
|
| |
|
Phrosty
|
  |
| Joined: 04 Jan 2012 |
| Total Posts: 346 |
|
| |
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 06 Jan 2012 12:11 PM |
bin.Selected:connect(onSelected) to script.Parent.Selected:connect(onSelected) |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2012 12:35 PM |
im not a godd scripter but everyone is missing the point the part that is wrong is "SELECTED"
bin.Selected:connect(onSelected)
bin=Script.Parent is already in the script its just Selected isnt right but i dont know what should be there
16:48:33 - Selected is not a valid member of Seat 16:48:33 - Script "Workspace.AircraftSeat.Aircraft", Line 282 16:48:33 - stack end
|
|
|
| Report Abuse |
|
|
grimm343
|
  |
| Joined: 18 Sep 2008 |
| Total Posts: 2796 |
|
|
| 06 Jan 2012 12:58 PM |
Why is the script inside of a Seat..?
A Seat does not have the .Selected event trigger-able, and 'Selected' is not a child of the Seat.
Selected is an event used on a HopperBin.
What kind of script is this? Tell me your hierarchial tree? |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2012 01:05 PM |
everything is inside the seat its a jetplane script with weapons
so the seat does not have .Selected...
so i must do what to make everything work? |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2012 01:10 PM |
| The script, as many others have said, goes inside a HopperBin object. |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2012 01:15 PM |
| would u like to see the script cause im sure its connected to other scripts lol it cant be that simple xD |
|
|
| Report Abuse |
|
|