WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:19 PM |
THE name of teh brick is TagBlock
s = Instance.new("Smoke") s.Parent = TagBlock
Would that work? |
|
|
| Report Abuse |
|
|
Pyzothon
|
  |
| Joined: 26 Oct 2011 |
| Total Posts: 822 |
|
|
| 14 Nov 2011 05:20 PM |
| s = Instance.new("Smoke", game.Workspace.TagBlock) |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:21 PM |
| So i would have to do it liek that for it to work? |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:21 PM |
| Pyzothon's is more efficient, but yours should work as well. |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 14 Nov 2011 05:22 PM |
TagBlock wasn't declared.
s = Instance.new("Smoke") s.Parent = game.Workspace.TagBlock |
|
|
| Report Abuse |
|
|
Pyzothon
|
  |
| Joined: 26 Oct 2011 |
| Total Posts: 822 |
|
|
| 14 Nov 2011 05:22 PM |
@king
His doesn't find where TagBlock is, unless it's a defined variable. |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:22 PM |
| Woops, I overlooked that. I feel very embarrassed. |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:23 PM |
| This is freeze tag, And i think that TagBlock dosn't go under workspace because it's creating once it tags a person |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 14 Nov 2011 05:23 PM |
Super late post.
But just to argue and learn, king. TagBlock wasn't declared. How would it work? I'm rather new to Lua. |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:23 PM |
| To be honest, when I saw "TagBlock" in his first sentence, I assumed that it was declared. |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 14 Nov 2011 05:24 PM |
@Weird
You'll have to find where TagBlock end up to be able to index it right. |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
| |
|
|
| 14 Nov 2011 05:24 PM |
@Neon
I already know, I didn't look very carefully at his script.
<-- |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 14 Nov 2011 05:24 PM |
@king
Okay, just making sure I wasn't missing something my-self. :D |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:25 PM |
| SO do i put what pyzthon put? |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 14 Nov 2011 05:26 PM |
| Yes, but it will only work if TagBlock is in directly in Workspace. |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:26 PM |
You can put it anywhere. Or you could use this and put it in the brick:
Instance.new("Smoke", script.Parent) |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:27 PM |
"Yes, but it will only work if TagBlock is in directly in Workspace."
False. It can be absolutely anywhere he wants, as long as it's a place where scripts run. |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:27 PM |
| CAn one of you guys come to my fog tag to check? |
|
|
| Report Abuse |
|
|
Pyzothon
|
  |
| Joined: 26 Oct 2011 |
| Total Posts: 822 |
|
|
| 14 Nov 2011 05:27 PM |
There are two ways to accomplish this.
1)
local s = Instance.new("Smoke", game.Workspace.TagBlock)
2)
local s = Instance.new("Smoke") s.Parent = game.Workspace.TagBlock |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:28 PM |
Oops, I need to learn to read. I thought you meant the SCRIPT.
Today is a day of embarrasment. :| |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:28 PM |
| CQAn one of you guys come to test it out? |
|
|
| Report Abuse |
|
|
|
| 14 Nov 2011 05:29 PM |
| Why is there a need to? Why can't you test it out yourself? |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
|
| 14 Nov 2011 05:29 PM |
| Because this is freeze tag and it needs 2 people :P |
|
|
| Report Abuse |
|
|
WierdTony
|
  |
| Joined: 27 Jul 2011 |
| Total Posts: 1116 |
|
| |
|