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: Dialogue Teleport Script

Previous Thread :: Next Thread 
13redblox is not online. 13redblox
Joined: 01 Jul 2010
Total Posts: 379
08 Apr 2012 09:34 PM
When I start a talk, There are many dialog choices I have to go through to get to the teleporting part. 15 dialogues, I think. I free model scripts because they work most of the time. Credit is given in description.



function check(Player, Choice)
if Choice.Name == "Teleporter" then
Player.Character.Torso.CFrame = CFrame.new(-382, 95.6, -182)
end
end

script.Parent.DialogChoiceSelected:connect(check)

--dragonator290 >=3




This script is in the parent of the dialog choice that says "Okay!!!!!!!" Because the theme of my game is you shrink and have to get back to normal size... not that anybody would actually CARE.
Is this script supposed to be INSIDE the dialog that says "Okay!!!!!!!!" or is it a broken script???


~Thanks in Advance~

~13~
Report Abuse
Quovis is not online. Quovis
Joined: 24 Mar 2012
Total Posts: 494
08 Apr 2012 09:36 PM
Not fixing a free model, sorry if you come back after making your own then I will ix it or change it. But thanks for admitting that it's free modeled
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
08 Apr 2012 09:37 PM
Learn to script, dont use free models, THERE YOU GO

/Help the hopeless,cause their hopeless\
Report Abuse
13redblox is not online. 13redblox
Joined: 01 Jul 2010
Total Posts: 379
08 Apr 2012 11:02 PM
-_- why would I learn lua if its confusing?
Report Abuse
gergy008 is not online. gergy008
Joined: 16 Mar 2008
Total Posts: 7039
08 Apr 2012 11:06 PM
Lua isn't confusing, it's another language, you just don't understand it that's all. I really recommend you get into scripting properly, it will make everything you create here so much more super awesome, plus the satisfaction of seeing something that you've created working is awesome.
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
08 Apr 2012 11:06 PM
Why should anyone help you if you wont even try?

Look your not going to get anywhere in life if you dont..magic word...TRY!!!
Report Abuse
FisherPenguin is not online. FisherPenguin
Joined: 14 Jun 2010
Total Posts: 1157
08 Apr 2012 11:07 PM
So you can understand it. Also, it is perfectly fine to use free models, IF your learning off of them.

+-Fishy
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
08 Apr 2012 11:08 PM
Also. Lua is hard? Yeah, look, C++,Java,JavaScript,ruby
10 TIMES HARDER
And RBX.Lua isnt even Lua, See that script up there? Thats RBX.Lua, not Lua, Lua is used throughout games,while Lua on roblox is only used...
ON ROBLOX
Report Abuse
Quovis is not online. Quovis
Joined: 24 Mar 2012
Total Posts: 494
08 Apr 2012 11:14 PM
Yes, Java is fun =D
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
08 Apr 2012 11:19 PM
Ah i wanna learn C++ one day
Its hard since i cant even get the hang of Lua yet.I wanna design my own games (More then roblox) one day.i heard Java is more powerful then C++, is that true?
Report Abuse
13redblox is not online. 13redblox
Joined: 01 Jul 2010
Total Posts: 379
08 Apr 2012 11:50 PM
Okay, I get it, I get it. Lua just Isn't really my thing. There is an easy program that lets you use Java to make movies and Video games. It's called Storytelling Alice. It was made by some High schoolers as some kind of a project. I think it's kind of lame, when you make a game you can go right through the walls. o.o
When I make a movie It's pretty easy, the tutorial kind of help but they change your window size. You get to change it back when the tutorial is over. And if you want to make your own models it's easy, you need a 500 dollor program called 3d studio max, which pixar uses... So, Yeah, Story Telling Alice is kind of Pointless... :\
Report Abuse
Willingroblox123 is not online. Willingroblox123
Joined: 18 Jan 2010
Total Posts: 6872
08 Apr 2012 11:54 PM
@Dark
I have no idea if Java is more powerful than C++ or not, but i'm pretty sure it's a frowned apon language due to memory leaks or something.

Also, I would recommend this order of learning if you are interested in application/game development
RBLX.Lua (Once you've gotten expert/pro)>Java/C#>C++, I have no idea if anybody else used this order, but it worked pretty well for me, with the one thing that I went to visual basic after RBLX.Lua which almost jacked me for good..
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
09 Apr 2012 12:00 AM
@13redblox,good to know, also Porgramming can be for anyone, you just have to wanna learn how to do so,you,truely, seem more like a builder then a programmer

Also

@Willing
Why learn RBX.Lua? I can only use it on Roblox unless i somehow find a way to make a new engine on programming to use RBX.Lua
Also i heard that C++ is hard,but used by most game designers, thats why i wanna learn it,since more Game engines will run off of it. But ill try your way,I really do wanna learn how to use all programming language,whenever i look at a script it looks both simple and very hard at the same time,and it doesnt help i dont have any teachers in any program lol Im trying to learn it all by myself.
Report Abuse
Willingroblox123 is not online. Willingroblox123
Joined: 18 Jan 2010
Total Posts: 6872
09 Apr 2012 12:09 AM
@Dark
I suggest learning RBX.Lua first because then it will be easier to ease onto Java or C#, which the syntax are pretty alike, but still different.

If you try to learn C++ and don't understand RBX.Lua well first, then you will probably give up on C++.

I literally made myself learn RBX.Lua because I knew if I didn't I wouldn't be able to use even something as simple as Visual Basic, but it turned out RBX.Lua was pretty easy and I grasped the syntax pretty fast.

If you don't understand something I suggest coming to this forum for advice, or going to the roblox wiki to see if there is anything there, otherwise I would start off easy by editing free models and such.
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
09 Apr 2012 12:15 AM
i try, like i had a teacher for like 2 days, and things i thought i would use in the future i took notes, the ONLY script i can do all alone is this
"
VIP = {"Him","Her","Me"}
for i = 1, #VIP do
print(VIP[i])
end

Thats it.
Report Abuse
Willingroblox123 is not online. Willingroblox123
Joined: 18 Jan 2010
Total Posts: 6872
09 Apr 2012 12:22 AM
Well one thing,

If you don't understand that script, that's bad, because programming/scripting isn't memorizing, it's kinda like school subjects, what's the point of doing it if you don't understand it?

I would suggest doing this:
http://wiki.roblox.com/index.php/Absolute_beginner%27s_guide_to_scripting
or this
http://wiki.roblox.com/index.php/Cookbook
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
09 Apr 2012 12:41 AM
No i understand that, its a for loop.and anything in the table (VIP) will print it, after printing them, it ends
Report Abuse
zakary99 is not online. zakary99
Joined: 19 Jan 2010
Total Posts: 1095
09 Apr 2012 06:02 AM
@DarkStrike3, ROBLOX Lua when learnt helps you, you will find it easier to learn LUA itself, and you'll find it easier to learn other Scripting languages as you've learnt one already...

Keep chewin' those nuggets.

Zakary99
FOLLOW MEH ON TWITTER: @RBX_Zakary99
Report Abuse
legokid135 is not online. legokid135
Joined: 23 Jan 2009
Total Posts: 1470
09 Apr 2012 07:46 AM
@DarkStrike3,

Javascript is easier that RBX.Lua, in my opinion.

-If cupcakes can fly.
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
09 Apr 2012 11:15 AM
Well today i got a C book,ima read that,ima just try learning them all,one of them will come to me, Ima still try learning RBX.Lua,but if i can learn something else like JavaScript/C ill take it! Also thanks for the help guys
Report Abuse
dragonator290 is not online. dragonator290
Joined: 25 Jul 2009
Total Posts: 120
02 May 2012 12:16 AM
Why the fish is my name in the script? qq
Report Abuse
DarkStrike3 is not online. DarkStrike3
Joined: 03 Feb 2012
Total Posts: 1263
02 May 2012 03:31 PM
Lego Javascript is for websites, and i got a teacher teaching me stuff.
Report Abuse
DeVinci is not online. DeVinci
Joined: 21 Jul 2010
Total Posts: 338
02 May 2012 03:38 PM
@Darkstrike

Actually, Lua is a simple spinoff from C++

Grant, C++ IS much, much harder.

Java and java script are actually alot easier that Lua.

Lua is object based, while java and javascript arent.

There are limple sork-arounds and much shorter, simpler code.

But in reality, it's all opinion on which is the easiest/hardest.
Report Abuse
DeVinci is not online. DeVinci
Joined: 21 Jul 2010
Total Posts: 338
02 May 2012 03:39 PM
work*
Report Abuse
dragonator290 is not online. dragonator290
Joined: 25 Jul 2009
Total Posts: 120
07 May 2012 04:56 AM
This is not a broken script, maybe you just did something wrong :3 For all I care, dont blame me.
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