when i look at the bottom of the screen it says this "Assets/Scripts/fall respawn.js(9,34): BCE0051: Operator '<=' cannot be used with a left hand side of type 'UnityEngine.Vector3' and a right hand side of type 'float'." any help?
Do you know how to make de object re-spawn without using the co-ordinates???
For example if I wanted the object to re-spawn from an empty game object. so then I can move the game object anywhere i like without going back in to the java script and changing the points.
@beepboopbopers Go to standard assets in the project view and open character controllers, then drag FPS. if this is not there go to Assets>import package>standard assets
U talk pretty weird :D
CeltZon 1 week ago
when i look at the bottom of the screen it says this "Assets/Scripts/fall respawn.js(9,34): BCE0051: Operator '<=' cannot be used with a left hand side of type 'UnityEngine.Vector3' and a right hand side of type 'float'." any help?
CrazyMan15218 1 month ago
It works... Cheers for that bro. :D
Do you know how to make de object re-spawn without using the co-ordinates???
For example if I wanted the object to re-spawn from an empty game object. so then I can move the game object anywhere i like without going back in to the java script and changing the points.
Help Me with this bro. plz
Marcus21889 1 month ago
I just wasted my time because...
IT DOESN'T WORK!!!!!
Apple580pork64 2 months ago
Comment removed
Hinto2win 1 month ago
@syndirella08 Transform MUST have a capitol and GameObject must have capitols the same as I just wrote it
RedofYellow 2 months ago
This has been flagged as spam show
@RedofYellow I get the error : Assets/FallRespawn.js(4,1): BCE0044: unexpected char: 0xFEFF.
my code is:
function Update(){
if (GameObject.Transform.postion.y < = 35) { GameObject.Transform.position.x = -25; GameObject.Transform.position.y = 42.5; GameObject.Transform.position.z = -32; }
}
any ideas?
olliivier1 2 months ago
@syndirella08 did you put a space between the < and the =
RedofYellow 2 months ago
how did you make your character
was it the capsule
beepboopbopers 4 months ago
@beepboopbopers Go to standard assets in the project view and open character controllers, then drag FPS. if this is not there go to Assets>import package>standard assets
RedofYellow 2 months ago
very nice thx now my game ist better xD
Gregor44444 5 months ago
i'm getting errors, could someone post the exact script?
CatinTheHat360 6 months ago
very, very good tutorial!!!! better than tornadotwins' fallout method
Guitarstratdude 6 months ago
wow thank you!!!1 i will try this out, im learning so much! :D this is exciting. Thanks again
YazzieBean 7 months ago
i cant c what u wrote can u plz send it to me or type it here plz
DeathShadowGamin 8 months ago
THANK U THAT REEEEEEEAAALLYY HELPED!
brainery 9 months ago
this is a nice simple script and you explained everything throuroughly, good work :)
Zynt453 10 months ago
hey i have camtasi studio too!! but i dont know how to import my unity3d video to youtube
Future6556 11 months ago