OMG it doesnt work for me... the turret wont shoot. ive done all that you did but it says ive got a null reference exception and its wrong on line 28 and 19! PLEASE HELP!!
"Assets/TurretScript.js(12,41): BCE0023: No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(System.Type, UnityEngine.Vector3, UnityEngine.Quaternion)' was found."
var bullet = Instantiate(bulletPrefab, GameObject.Find("TurretFireSpawn").transform.position,Quaternion.identity);
@NerdyComputerDood i know lol. i couldnt find any of the stuff for free like the turrets and the temple and stuff. It just takes you to the homepage and when you scroll through it all its not even there
Hey guys I make a bunch of videos to show you how make your own game with unreal development kit, Its really simple I will teach you everything from custom weapons to menus and huds, Check out my channel and don't forget to subscribe...
I put my turret under ground and it made a FOUNTAIN!!!! it was so funny me and my team of developers started balling our eyes out of the sockets that hold them!!
I cant get the turret to shoot. It follows me fine but I need the script that they are using. If the scripting works for you, could you copy and paste it in a comment so I could use it?!?!? This SCUKS.
unexpected token var line 29 (same as video) please help ive done everything i can also in the same one it says put ; at (29,4) someone please tell me what this means
Assets/TURRET.js(18,27): BCE0023: No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(UnityEngine.Transform, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion)' was found.
i dont understand any of this XD but if i want to make my own games then it will take some time im 15 so i got still a few years to learn it meybe i understand it when im older to bad im not one of the smart guys but one of the stupid ones and the only reason im writing this is because im bored XD lol
I want it to be a machine gun with 2 turrets, so what do i have to chance to make it shoot faster and how do i make an second spawnPoint where he shoots right after the first spawnpoint shot?
I keep getting a funny error. up to about 3.5 min into the episode where the turret is supposed to shoot every frame update and instead it fires when i Fire1(left mouse click) and the fireball comes out(of the turret) in the direction of the worm... i remade the spawnPoint etc but unity still is mistaking the worm spawnPoint for the turret spawnPoint. consequently the worm doesnt spawn a fireball with this error only the turret. does anyone know what i am doing wrong? thanks!
nice you vids are realy helpfull..havent implemented them yet because im new to unity...and im still stuck on udk and my friend is helping me ajust :D
my error I do not know how to fix I have tried everything Assets/TurretControl.js(36,34): BCE0034: Expressions in statements must only be executed for their side-effects.
OK, what is the problem here, I have everything but, I may be happy that as soon as the scene loads & turret starts shooting the time I expect it to, but 3 errors, error #1 why if no matter what time between shots is set to, it always just rapid fires loads of prefabs, & error #2 why does the prefabs just sit there & not move like a fired bullet & error #3 why does this error missing method rigid body add force occur? D:
ok, why in the hell is my turret not going crazy shooting 1000's of fireballs like that? All that happens is when i press "Fire1" the turret shoots off the z axis regardless of where it's looking.....
hi my name is colll78 and me and my friend franko98 are making a MMO-RPG and we would love you to check out our channel just check out our progress also if you are an expierenced coder or modeler we would love you to comment and we will contact you advertise for our channel and please rate and subscribe
I got a problem after putting the last script for the turret. When I test play, for some reason, my worm fireball isn't shooting at the front of the worm, its shooting next to the worm. I check on the spawnPoint for the worm and is front of it. What might my worm to shoot on the side.
Ok... so I know I'm just another random person posting their issue... But does anyone know what a NullRefrenceExeption is? at (System.Object seconds) also says "Object reference is not set to an instance of an object..." I swear I've copied his script perfectly 3 times over and i still have the issue. And the turret keeps spraying everywhere. Anyone help? =/
can somebody just please paste a working script ive copied it correctly but i still get errors i dont want to waste my time and be stuck on this for hours.
Great tutorial guys! I was wondering if someone could help me, i need an object to move torewards another object (me/ maincamra). I tryed gototarget and stuff but it didin't work. How do i do that??
@SuperGamespawn It happened with me too! Did you download or made the model? If so make sure the "local" axes of your model are same as the "global" axes of unity. In simple terms unity thinks that the rear of your turret is its front.
@SuperGamespawn Its only a week I am in unity and I dont know how to do it in Unity :P BUT in order to change the axis you need to do in a 3D modelling software (like blender) Make sure Y is 'up', X is 'right' and z is 'front'
I realized that i called my bullitPrefab BullitPrefab and it messed stuff up so it dosnt match the stuff in my script how do i change the name of the bullit prefab (which is currently named BullitPrefab) back to bullitPrefab
Assets/Physic Materials/slowturretdown.js(27,53): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'Find'. this is the problem i having pleas help me.
I think you might have misunderstood some functions,
Quaternion.identity gives you no rotation (like an identity matrix), not the rotation of the object.
in Quaternion.slerp / lerp the third parameter is not the time, but how much it should rotate (from 0 (no rotation) to 1 (rotate to the target), using the time it will move slower the closer it is to the player.
@Rokondude5 How do you want us to know what is on line 25 in your script? Post the line code here or if there isn't any it's probably a typo or you forgot some brackets.
@fvgbdhgfe123456789 Open up your TurretControl script , line 3, and add a ";" at the end. If you followed the instructions correctly, you're probably missing a semicolon at the end of var bullitPrefab:Transform .
Assets/TurretControl.js(18,30): BCE0023: No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(UnityEngine.Transform, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion)' was found.
@mepain1 Yes that's supposed to = to that because most videos that are tutorials they're supposed to be helping things not some sort of random entertainment. :|
@sampsonist There is no way that he can aid all of them himself, since there are so many. Do you need help your self? If you do, let me know and I will help you out.
How do I fix the problem of my turret falling through the ground... At first it didnt do that... someone please tell me which part keeps it on the ground so i can fix it?
ok, i am having such a hard time and nobody else has had this problem looked down to the 19th paige of comments. it says Assets/Physic Materials/slowtureetdown.js(16,10): UCEOOO1 ';' expected. Insert a semicolon at the end. now i fix that problem and now new problem. Exprressions in statements must only be executed for their side-effects. and there another error sayings. An instance of type 'UnityEngine.Transform' is recuired to acess non static member 'Find'. ps help i have been trying for days
I have an error that i researched and can't seem to find a solution to. I'm not sure if it is an error with the script but i checked it many times and couldnt find anything wrong with it. this is the error i get.
Assets/TurretControl.js(26,85): BCE0019: 'transform' is not a member of 'UnityEngine.Transform'.
That is exactly what it says, and i have no idea what it means or what to do about it...any suggestions?
@KillerPenguin98 It looks like you forgot the semicolon at the end of a line of code so you have 4 errors so go put the semicolons at the end of the line of the code.
@onthebattlefield67 me too and fireballs dont shoot out of it, and when i try to shoot my fireballs it comes out the tuuret in the direction im facing could someone please help!
The turret doesn't act as it should be! It should rotate at a constant speed but its speed depends on what the difference between current rotation and final rotation. For example when I change my position 180 degrees against turret, in first second turret changes 120degrees and next 30, next 10, next 5, next 1. This is not a machineish behaviour.
What shell I do if it says BC0042: Error reading from 'Assets/Standard Assets/TurretControll.js': 'Index is less than 0 or more than or equal to the list count.Parameter name: index?
I have a problem with my turrets. I copied this script exactly but my turret heads end up like 10 feet away from the base when I start the game. I don't know what is wrong. Any ideas?
help please when i start it doesnt work is says in the console "NullReferenceExeption NewBehaviorScript 2[my turret control script [it wouldnt let me remane it]] (System.Object seconds) (at Assets/NewBehaviorScript 2.js:29)"please help if you want to know the script that i used message me please help
Ok my problem is for the part where it says function shoot the this annoying error pops up "expecting (, found shoot and i change shoot to (, and 10 other problems pop up so im freaking out can you help me plz
I have one problem to make is shoot one by one
NullReferenceException: Object reference not set to an instance of an object
TurretControl.Shoot (System.Object seconds) (at Assets/Scripts/TurretControl.js:31)
TurretControl.Update () (at Assets/Scripts/TurretControl.js:19)
13LocLoc 5 days ago
HELPP PLEASEEEE /watch?v=YeAWtVg3BiY
aires410 6 days ago
What language is he using?
Mardun38 1 week ago
@Mardun38 English. LOL
MarkoWorko 1 week ago
@Mardun38 Unity uses JavaScript, C# and Boo. He is using JavaScript in these tutorials.
Korban3 3 days ago
guys if anyone has NullReferenceExeption just try this...i spended 1h trying to solve this puzzle
write the script exactly as it is above.but int the line :
var bullit = Instantiate(bullitPrefab,GameObject.Find("spawnPoint2").transform.position,Quaternion.identity );
in tornadotwins script its written as var bullit = Instantiate(bullitPrefab,project.Find("spawnPoint2").transform.position,Quaternion.identity );
just write GameObject instead of transform.Find("spawnPoint2").transform.position
777giorgos 1 week ago
OMG it doesnt work for me... the turret wont shoot. ive done all that you did but it says ive got a null reference exception and its wrong on line 28 and 19! PLEASE HELP!!
macboyMax 2 weeks ago
"Assets/TurretScript.js(12,41): BCE0023: No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(System.Type, UnityEngine.Vector3, UnityEngine.Quaternion)' was found."
var bullet = Instantiate(bulletPrefab, GameObject.Find("TurretFireSpawn").transform.position,Quaternion.identity);
What to do?
supersushi269 3 weeks ago
can i have the torrent control code so i can copy paste.
cazador1914 1 month ago
the link just takes me to gameprefabs [dot] com
:(
NerdyComputerDood 1 month ago
@NerdyComputerDood i know lol. i couldnt find any of the stuff for free like the turrets and the temple and stuff. It just takes you to the homepage and when you scroll through it all its not even there
macboyMax 2 weeks ago
This has been flagged as spam show
Hey guys I make a bunch of videos to show you how make your own game with unreal development kit, Its really simple I will teach you everything from custom weapons to menus and huds, Check out my channel and don't forget to subscribe...
XstreamTech 1 month ago
Sad that you guys can't even keep these files free you had to sell out so bad.
MalmizHimself 1 month ago
I put my turret under ground and it made a FOUNTAIN!!!! it was so funny me and my team of developers started balling our eyes out of the sockets that hold them!!
MrAirsoftkiller 1 month ago
i cant go to 1
itameio 2 months ago
hey tornado twins would u mind adding me on facebook? to get direct information from u on how to use this
itameio 2 months ago
can anyone tell me how to make games with this program?
itameio 2 months ago
dude the is programming you need to watch the video from part 1
thedoortoawesomeness 2 months ago
Lol i made a minigun that Heavy uses in TF2 from Maya, im prob going to use that =)
AussieRaver1996 2 months ago
I cant get the turret to shoot. It follows me fine but I need the script that they are using. If the scripting works for you, could you copy and paste it in a comment so I could use it?!?!? This SCUKS.
MrAdorableMonkey 2 months ago
i do every thing but when i press play program closes and it pop up error=dont send
help!
zunamare96 2 months ago
unexpected token var line 29 (same as video) please help ive done everything i can also in the same one it says put ; at (29,4) someone please tell me what this means
funnywazoos13 2 months ago
nullreference exeption HELP ME!!!
stijnimanbik 2 months ago
@stijnimanbik Null reference exeptions happen when you don't define a variable in the Inspector, make sure all your variables have a value
GnomeClubProductions 2 months ago in playlist More videos from TornadoTwins
thumbs up if you think tht flamethrower turret is awesome
TheMariofireball 2 months ago 19
Assets/TURRET.js(18,27): BCE0023: No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(UnityEngine.Transform, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion)' was found.
Ceneviva 3 months ago
@Ceneviva Code:
var bullit = Instantiate(bullitPrefab, transform.Find("spawnPoint").transform.position, Quaternion.identity);
You properly left out .transform.position in the second parameter.
mepain1 3 months ago
@mepain1 Oh thanks alot!!! Now it works!
Ceneviva 2 months ago
7:53 hilarious voice change:) <3
NoddyFish 3 months ago
7:53 ahaha
NoddyFish 3 months ago
oops i ment 7:53:) haha hilarious voice change! <3
NoddyFish 3 months ago
7:54 haha hilarious voice change:)
NoddyFish 3 months ago
i dont understand any of this XD but if i want to make my own games then it will take some time im 15 so i got still a few years to learn it meybe i understand it when im older to bad im not one of the smart guys but one of the stupid ones and the only reason im writing this is because im bored XD lol
preper133 3 months ago
I want it to be a machine gun with 2 turrets, so what do i have to chance to make it shoot faster and how do i make an second spawnPoint where he shoots right after the first spawnpoint shot?
denniemaster 3 months ago
I got NullReferenceException wat that mean?
MomoShow9 3 months ago
I keep getting a funny error. up to about 3.5 min into the episode where the turret is supposed to shoot every frame update and instead it fires when i Fire1(left mouse click) and the fireball comes out(of the turret) in the direction of the worm... i remade the spawnPoint etc but unity still is mistaking the worm spawnPoint for the turret spawnPoint. consequently the worm doesnt spawn a fireball with this error only the turret. does anyone know what i am doing wrong? thanks!
DoctaShaund 3 months ago
nice you vids are realy helpfull..havent implemented them yet because im new to unity...and im still stuck on udk and my friend is helping me ajust :D
IRrandom12321 3 months ago
@IRrandom12321 i ment your*
IRrandom12321 3 months ago
I typed in everything he did triple checked it, did everything he did, and it still won't shoot!! HELP!
PETER333CROATIA 4 months ago
It won't shoot at all!
PETER333CROATIA 4 months ago
Top tip. Don't make the turret fire a turret at this point. My computer almost died.
BPBloodeye 4 months ago
This has been flagged as spam show
my error I do not know how to fix I have tried everything Assets/TurretControl.js(36,34): BCE0034: Expressions in statements must only be executed for their side-effects.
woodrow450i 4 months ago in playlist More videos from TornadoTwins
Comment removed
woodrow450i 4 months ago in playlist More videos from TornadoTwins
Nerd
MrLaMocro 4 months ago
@MrLaMocro You don't even have to be a nerd to know this stuff. It's nice, clean and basic.
Misthema 4 months ago 2
@Misthema Exactly. He is just jealous.
mepain1 4 months ago
@MrLaMocro Awesome guy
therealwouter 4 months ago
learn already that's bullet, not bullit
alexgrinkov 4 months ago
@alexgrinkov Depends on country.
spike117117 1 month ago
@spike117117
no dictionary lists "bullit"
alexgrinkov 1 month ago
LOL Flametrower COOL
ResurrectionGamer 5 months ago
OK, what is the problem here, I have everything but, I may be happy that as soon as the scene loads & turret starts shooting the time I expect it to, but 3 errors, error #1 why if no matter what time between shots is set to, it always just rapid fires loads of prefabs, & error #2 why does the prefabs just sit there & not move like a fired bullet & error #3 why does this error missing method rigid body add force occur? D:
sampsonist 5 months ago
ok, why in the hell is my turret not going crazy shooting 1000's of fireballs like that? All that happens is when i press "Fire1" the turret shoots off the z axis regardless of where it's looking.....
cwperkins83 5 months ago
@cwperkins83 Ok, finally figured it out.....I had to parent the spawnPoint to Top Part and not SmallTurret.....only took all day.....
cwperkins83 5 months ago
Nice sentry gun :P
Great tutorial!
RatmanXX 5 months ago 6
This has been flagged as spam show
hi my name is colll78 and me and my friend franko98 are making a MMO-RPG and we would love you to check out our channel just check out our progress also if you are an expierenced coder or modeler we would love you to comment and we will contact you advertise for our channel and please rate and subscribe
colll78 5 months ago
Comment removed
109talal 5 months ago
keep pressing 8 quickly
109talal 5 months ago
Nice I love your tutorials!!
HeyIAmFromBelgium 6 months ago
my turret wont shoot
spartangeneral1 6 months ago
If you guys are still having trouble with the turret not shooting:
remove the var seconds, var oddeven and the if(oddeven) statement out of the If(LookAtTarget) statement.
therealfirestarter07 6 months ago
can u send me a message on what all those programes are at the bottem startin from left to right plz
scottwalker123 6 months ago
I got a problem after putting the last script for the turret. When I test play, for some reason, my worm fireball isn't shooting at the front of the worm, its shooting next to the worm. I check on the spawnPoint for the worm and is front of it. What might my worm to shoot on the side.
acabner 6 months ago
3:36 coooool
jrgerba 6 months ago
i have a problem : unknow identifier : identity
zawette 7 months ago
Someone please just put the CORRECT script up!
Cannedbread17 7 months ago
Comment removed
Wallesson97 7 months ago
What happen to the script: //transform.LookAt(LookAtTarget);
acabner 7 months ago
function Shoot(seconds) { if(seconds!=savedTime) { var bullit = Instantiate(bullitPrefab ,transform.Find("spawnPoint").transform.position , Quaternion.identity); bullit.rigidbody.AddForce(transform.forward * 1000); savedTime=seconds; } }
this is 2nd half, did anyone fix the problem of turrets facing wrong way and looking the opposite way of the worm?
Dragonhunter1232 7 months ago
@Dragonhunter1232 spin the Turret around
chris8sam 4 months ago
var LookAtTarget:Transform;
var damp =6.0;
var bullitPrefab:Transform;
var savedTime=0;
function Update () { if(LookAtTarget) { var rotate = Quaternion.LookRotation(LookAtTarget.position - transform.position); transform.rotation = Quaternion.Slerp(transform.rotation, rotate, Time.deltaTime * damp); var seconds : int = Time.time; var oddeven = (seconds % 2); if(oddeven) { Shoot(seconds); } }
this is 1st half
Dragonhunter1232 7 months ago
Ok... so I know I'm just another random person posting their issue... But does anyone know what a NullRefrenceExeption is? at (System.Object seconds) also says "Object reference is not set to an instance of an object..." I swear I've copied his script perfectly 3 times over and i still have the issue. And the turret keeps spraying everywhere. Anyone help? =/
SH4RK136 7 months ago
i have not a eror "i can not shoot"
ik heb geen erors maar ik kan niet shieten
taha22199507 7 months ago
can somebody just please paste a working script ive copied it correctly but i still get errors i dont want to waste my time and be stuck on this for hours.
Greenseedsbaby 7 months ago
you spelt bullet wrong
Mrtibtob 7 months ago
How do I script button inputs? For example, checking if the Z key is down for say, a jetpack input?
michaelfadich 7 months ago
Comment removed
carfenaticman123 7 months ago
Comment removed
carfenaticman123 7 months ago
@michaelfadich if(Input.GetkeyDown("z"))
{
}
carfenaticman123 7 months ago
@MuLtiFLYGuY24 Could you copy/paste your script so I can see it?
PartlyDigested 8 months ago in playlist Make a Videogame from Scratch - Tutorials
hello im stuck on this script too :( cacn someone give me a script that works with u? plz :(
Darklighttracker94 8 months ago in playlist Make a Videogame from Scratch - Tutorials
Unknown identifier shoot...?
mackuss 8 months ago
Great tutorial guys! I was wondering if someone could help me, i need an object to move torewards another object (me/ maincamra). I tryed gototarget and stuff but it didin't work. How do i do that??
olgra009 8 months ago
NullReferenceException
cannon controll.Shoot (System.Object seconds) (at Assets/cannon controll.js:28)
cannon controll.Update () (at Assets/cannon controll.js:19)
?
my error and the turrent is shooting ?
3picl33t 8 months ago
Comment removed
southpawdecoy 8 months ago
Assets/TurretControll.js(23,31): BCE0005: Unknown identifier: 'bullitpreferb'.
nermiina1 8 months ago
@nermiina1 Make sure your spelling is correct "bulletPrefab"
supersushi269 3 weeks ago
@supersushi269 can you help no one else will my problem is that my turret looks away from me instead of following me do you know how to fix it?
SuperGamespawn 3 weeks ago
@SuperGamespawn It happened with me too! Did you download or made the model? If so make sure the "local" axes of your model are same as the "global" axes of unity. In simple terms unity thinks that the rear of your turret is its front.
supersushi269 3 weeks ago
@supersushi269 i made it and thank you so much i have asked this in so many places and finally an answer!
SuperGamespawn 3 weeks ago
@supersushi269 one more thing iv used unity for a year but forgot how to change my model axis can you tell me?
SuperGamespawn 3 weeks ago
@SuperGamespawn Its only a week I am in unity and I dont know how to do it in Unity :P BUT in order to change the axis you need to do in a 3D modelling software (like blender) Make sure Y is 'up', X is 'right' and z is 'front'
supersushi269 3 weeks ago
@supersushi269 i made to model using unity for testing purposes
SuperGamespawn 3 weeks ago
Comment removed
nermiina1 8 months ago
nabakoful 8 months ago
Awesome tutorials dude! Everything so far works for me :D I got some errors but then I fixed them all ;)
xxxShadowwariorXXX 8 months ago
I realized that i called my bullitPrefab BullitPrefab and it messed stuff up so it dosnt match the stuff in my script how do i change the name of the bullit prefab (which is currently named BullitPrefab) back to bullitPrefab
JELLYJOOBLE18 8 months ago
I realized that i called my bullitPrefab BullitPrefab and it messed stuff up so it dosnt match
JELLYJOOBLE18 8 months ago
I have a error that says NullReferenceException
JELLYJOOBLE18 8 months ago
@fvgbdhgfe123456789 If I were you I would start back from square 1.
FPSEntertainments 8 months ago
When i shot now, my bullit come out from the smallTurent... :S
TheWhiteCrocodile 8 months ago
the fireballs don't shoot at my worm unless i press SPACE....and if i do it does not shoot at my worm but the direction my worm is facing... help?
JBwrath 8 months ago
Assets/Physic Materials/slowturretdown.js(27,53): BCE0020: An instance of type 'UnityEngine.Transform' is required to access non static member 'Find'. this is the problem i having pleas help me.
littlebrojo 8 months ago
Comment removed
sirlagzalot 8 months ago
Comment removed
sirlagzalot 8 months ago
Comment removed
sirlagzalot 8 months ago
my turret doesn't shoot the fireballs just fall from it. I NEED HELP PLEASEEEEEEE!!!!!
bigfatbessy8 8 months ago
when i hit the space bar. the turret shoots not me
TheAwkwordPair 8 months ago
I think you might have misunderstood some functions,
Quaternion.identity gives you no rotation (like an identity matrix), not the rotation of the object.
in Quaternion.slerp / lerp the third parameter is not the time, but how much it should rotate (from 0 (no rotation) to 1 (rotate to the target), using the time it will move slower the closer it is to the player.
fishbone0 8 months ago
Comment removed
Rokondude5 9 months ago
@Rokondude5 How do you want us to know what is on line 25 in your script? Post the line code here or if there isn't any it's probably a typo or you forgot some brackets.
TechTimeTut 9 months ago
@fvgbdhgfe123456789 Open up your TurretControl script , line 3, and add a ";" at the end. If you followed the instructions correctly, you're probably missing a semicolon at the end of var bullitPrefab:Transform .
spargaretz 9 months ago
i get the erro Assets/TurretScript.js(25,21): BCE0005: Unknown identifier: 'savedTime'.
in the text if(seconds!=savedTime)
pls someone help me
rangcardo 9 months ago
@rangcardo You seem to have forgot to define the savedTime variable :) Open up your script, and at the beginning add the following line :
var savedTime = 0;
Hope this helps.
spargaretz 9 months ago
plz plz can u putt the turretcontrol in the discription
Thew00tofb00t 9 months ago
plz plz can u putt the turretcontrol in the discription
Thew00tofb00t 9 months ago
how do i fix this?
Assets/TurretControl.js(38,42): BCE0034: Expressions in statements must only be executed for their side-effects.
Guitarstratdude 9 months ago
Omg i have a so annoying error it says
Assets/TurretControl.js(18,30): BCE0023: No appropriate version of 'UnityEngine.Object.Instantiate' for the argument list '(UnityEngine.Transform, UnityEngine.Transform, UnityEngine.Vector3, UnityEngine.Quaternion)' was found.
can someone help me??
Gucio7430 9 months ago
@TheUndeadclaws I agree, everyone put thumbs up like me
sampsonist 10 months ago
@sampsonist So with over two million viewers, he is supposed to help all of them?
mepain1 9 months ago
@mepain1 Yes that's supposed to = to that because most videos that are tutorials they're supposed to be helping things not some sort of random entertainment. :|
sampsonist 9 months ago
@sampsonist There is no way that he can aid all of them himself, since there are so many. Do you need help your self? If you do, let me know and I will help you out.
mepain1 9 months ago
How do I fix the problem of my turret falling through the ground... At first it didnt do that... someone please tell me which part keeps it on the ground so i can fix it?
DeliciousBuddhaboi 10 months ago
@DeliciousBuddhaboi
did u untick ur collider by accident?
tnecniv 9 months ago
NullReferenceException
turretControl.Shoot (System.Object seconds) (at Assets/scripts/turretControl.js:31)
turretControl.Update () (at Assets/scripts/turretControl.js:19)
THIS IS MY NEW ERROR HELP PLS
figher96 10 months ago
NullReferenceException
turretControlNew.Shoot () (at Assets/scripts/turretControlNew.js:25)
turretControlNew.Update () (at Assets/scripts/turretControlNew.js:16)
THIS IS MY ERROR PLS HELP
figher96 10 months ago
ok, i am having such a hard time and nobody else has had this problem looked down to the 19th paige of comments. it says Assets/Physic Materials/slowtureetdown.js(16,10): UCEOOO1 ';' expected. Insert a semicolon at the end. now i fix that problem and now new problem. Exprressions in statements must only be executed for their side-effects. and there another error sayings. An instance of type 'UnityEngine.Transform' is recuired to acess non static member 'Find'. ps help i have been trying for days
littlebrojo 10 months ago
never mind, i fixed that error but now i am getting another.
Assets/TurretControl.js(19,32): BCE0044: expecting :, found ';'.
KindaSlimShady 10 months ago
I have an error that i researched and can't seem to find a solution to. I'm not sure if it is an error with the script but i checked it many times and couldnt find anything wrong with it. this is the error i get.
Assets/TurretControl.js(26,85): BCE0019: 'transform' is not a member of 'UnityEngine.Transform'.
That is exactly what it says, and i have no idea what it means or what to do about it...any suggestions?
KindaSlimShady 10 months ago
my errors
Assets/TurretControl.js(22,1): BCE0044: expecting EOF, found '}'.
Assets/TurretControl.js(19,12): UCE0001: ';' expected. Insert a semicolon at the end.
Assets/TurretControl.js(19,9): BCE0043: Unexpected token: var.
Assets/TurretControl.js(17,17): BCE0043: Unexpected token: ;.
KillerPenguin98 11 months ago 7
@KillerPenguin98 this is the Error I get can u tell me the Fix
nabakoful 8 months ago
@KillerPenguin98 all you have to do is erase the semicolon at the line
function Shoot();
erase the semicolon so it says
function Shoot()
anikin171 7 months ago
@KillerPenguin98 It looks like you forgot the semicolon at the end of a line of code so you have 4 errors so go put the semicolons at the end of the line of the code.
carfenaticman123 7 months ago
@KillerPenguin98 You're missing ' ; ' from line 19 or somewhere.
Misthema 4 months ago
i got thees errors:
Assets/TurretControl.js(20,73): BCE0044: expecting ), found 'Quaternion'.
Assets/TurretControl.js(20,83): BCE0043: Unexpected token: ..
Assets/TurretControl.js(20,92): BCE0043: Unexpected token: ).
Assets/TurretControl.js(20,93): BCE0043: Unexpected token: ;.
azzz766 11 months ago
I got this errors:
Assets/TurretControl.js(19,1): BCE0044: expecting (, found '{'.
Assets/TurretControl.js(24,1): BCE0044: expecting EOF, found '}'.
azzz766 11 months ago
btw your friends turrets look good but shoot bad you should check it out 0.0
Haknish 11 months ago
Comment removed
alexdadaev 11 months ago
Comment removed
Maaarteh 11 months ago
Comment removed
Maaarteh 11 months ago
This has been flagged as spam show
dude nice i'm from Lithuania what a coinsidance
HappyWheelsManiac 11 months ago
dude nice im from Lithuania what a coinsidance
HappyWheelsManiac 11 months ago
I have a problem it says
NullReferenceException
turretControl.Shoot (System.Object seconds) (at Assets/turretControl.js:28)
turretControl.Update () (at Assets/turretControl.js:19)
what do i do it says line 28 but it is identical
onthebattlefield67 11 months ago
@onthebattlefield67 me too and fireballs dont shoot out of it, and when i try to shoot my fireballs it comes out the tuuret in the direction im facing could someone please help!
JcMadmusic 11 months ago
@onthebattlefield67 me too and my fire balls come out the turret, someone please help us!!!
JcMadmusic 11 months ago
The turret doesn't act as it should be! It should rotate at a constant speed but its speed depends on what the difference between current rotation and final rotation. For example when I change my position 180 degrees against turret, in first second turret changes 120degrees and next 30, next 10, next 5, next 1. This is not a machineish behaviour.
Borro12 11 months ago
can you help me i keep getting :
Assets/TurrentControl.js(20,25): BCE0043: Unexpected token: }.
when i look at your scrip , it still haves the }
but our not getting the error :(
UnknownGamerX 11 months ago
mine says: UnassignedReferenceException: The variable bullitPrefab of 'TurretControl' has not been assigned.
You probably need to assign the bullitPrefab variable of the TurretControl script in the inspector.
what shoul i do
onthebattlefield67 11 months ago
HELP, My turret isnt shooting it is saying that "bulletPrefab" has not been assigned, even tho i assigned it
multigamingdudes 11 months ago
i got 287 errors...
HubbaBubbaVj 11 months ago
thanks i just got it
YesMan457 11 months ago
here's the script guys:
W w W(dot)GOOGLE(dot) C o M
YesMan457 11 months ago
What shell I do if it says BC0042: Error reading from 'Assets/Standard Assets/TurretControll.js': 'Index is less than 0 or more than or equal to the list count.Parameter name: index?
Please help me.
AgentAngus 11 months ago
plz help when i press space my turret shoots???
MrCODXD 11 months ago
@MrCODXD name the spawnPoint in the topPart of the turret "spawnPoint1" (without the quotes)
in the turret controls script where it says
var bullit = Instantiate(bullitPrefab ,transform.Find("spawnPoint").transform.position ,Quaternion.identity);
make the part that says ("spawnPoint") say ("spawnPoint1")
the line should look like this:
var bullit = Instantiate(bullitPrefab ,transform.Find("spawnPoint1").transform.position ,Quaternion.identity);
select topPart and drag fireball into its target
YesMan457 11 months ago
what game is it called is it out
pricelessppp 11 months ago
This has been flagged as spam show
"computers cant hand me a deploma"
"kill the bill"
if you value education like and post on anyother place
luna is trying to get rid of education in idaho
if you want your kids to be able to have a education plz copy and past this
if you think that its jus in idaho think down the rode other states will fallow
plz help the future and past this to other vidios that you wach tonight
tjl102 1 year ago
good. still, don't understand exactly...
thomascolm11 1 year ago
@TornadoTwins I don't get the variable bullet prefab and I get Loads of errors even though i copied the script exactly, can you help please?
TheExtinctGamers 1 year ago
ok, these are good, but with the script, i did everything precisly to what you've put, could someone paste the script
ihackui 1 year ago
it looked like a flame thrower haha, retitle this " how to make a flame thrower in js "
Ktwonnn 1 year ago
i cant do this it just says Shoot() is not a valid thing
RawrsaidJye 1 year ago
@RawrsaidJye same
ihackui 1 year ago
I have a problem with my turrets. I copied this script exactly but my turret heads end up like 10 feet away from the base when I start the game. I don't know what is wrong. Any ideas?
Jtinker6171 1 year ago
3:40
Worm:crud,crud, crud. FLAMETHROWER!!
MrJfg302 1 year ago
This has been flagged as spam show
Ok guys, Me and my mate are looking for a story director, for a game we are making, PM me if interested
MrCycloneful 1 year ago
help please when i start it doesnt work is says in the console "NullReferenceExeption NewBehaviorScript 2[my turret control script [it wouldnt let me remane it]] (System.Object seconds) (at Assets/NewBehaviorScript 2.js:29)"please help if you want to know the script that i used message me please help
OnlyForComments1001 1 year ago
how can I import the islanddemo into unity3D?
P4N1KATTAK 1 year ago
Ok my problem is for the part where it says function shoot the this annoying error pops up "expecting (, found shoot and i change shoot to (, and 10 other problems pop up so im freaking out can you help me plz
mitchoid1 1 year ago
The 1 person who disliked this was a worm.
Oddjob23747 1 year ago
Thanks guys Im loving these tutorials!!
Okhaj 1 year ago
nevermind i did it and im eleven :)
jddfriend 1 year ago