Quantcast
Channel: Latest Questions by GraviterX
Browsing all 122 articles
Browse latest View live
↧

Loadout Revert to Factory Settings Hierarchy Deletion

Hey guys. I have a huge problem. I went to open my project tonight and there was a message displayed that said something about the layout couldn't be displayed and it made me revert to the factory...

View Article


Instantiating a text field

Hey guys. So I'm making a program that allows a user to communicate with an AI. I'm able to have the user type and hit enter to send the text, but I want there to be a blank GUI text field and when the...

View Article


Creating GUI inside an if statement

Hey guys. I'm having a problem with this Javascript. I want to have this line { (GUI.Box (Rect (10,10,100,90), stringToEdit); } that creates a GUI box inside of an if statement to create it when...

View Article

KeyCode.Enter

Hey guys. I've been having trouble figuring out how to make an if statement that detects when the "enter" key is pressed. I wrote this simple script but it won't work. Any help? function Update() {...

View Article

Check GUI Text Field

So I have this script where the Player can type text, hit enter, and an AI responds to it depending what the text is. However, the if statement that's supposed to check if the text is a greeting isn't...

View Article


Checking grammar in strings

So I have a script where the user can type certain things in a text box and press enter to trigger the system to say something back, like an AI. The problem is, I have to type every possible thing a...

View Article

Checking certain words in a string

So I have a script that lets the user type a string and hit enter, only to have the machine reply. However, I want to make it so that if the user asks for a certain day, color, etc in the string, it...

View Article

Changing Footstep Sounds On Different Surfaces

Hey guys. So I just made up this simple script that is going to tell when the player is walking on different floors to be able to change the footstep noise. However, I'm not entirely sure how to change...

View Article


Dim Lighting Problem

Hey guys. I've been having an issue with the lighting in my game. The first picture is a screenshot of a light from a house scene. The light has a decent range with a brightness intensity of 8, so the...

View Article


Searching for certain string

Hey all. I have no idea how to do this, but basically what I'm trying to do is detect a certain string in a sentence without knowing that string. What I'm trying to do is allow a user to enter in their...

View Article

Collider floating above ground

I've been having a problem with the First Person Character script that comes with the Standard Assets. When I reduce the "Gravity Multiplier" setting to less than 5, the player seems to float above the...

View Article

Door and Key (ctu)

Hey all! I recently posted a question regarding my script (below). I'm trying to enable and disable scripts from the code. I'm not very good at it and have been looking at documents trying to figure it...

View Article

Script Problem

What's wrong with this script? It's supposed to enable/disable separate scripts on separate gameobjects. It's not working, and I'm getting this error: NullReferenceException: Object reference not set...

View Article


Script Problem 2

So I fixed the error in my last line of code, but now I have another problem. This script is supposed to allow the Player to collect a key. Then, the Player is supposed to enter a trigger and click to...

View Article

Scene File Deleted

Hey all. I recently went to open a scene file places in a scene folder in my assets folder and I discovered the scene file gone. I have no idea what happened to it for where it could've gone. I know...

View Article


Adding Symbols

Hey all. I have this script to slowly add money in a GUI counter. However, there is just the number displaying. I want it so it displays a $ before the amount of money. How can I do this? function...

View Article

Unity Asset Store Purchase Email

Hey guys. I recently purchased the package "Photon PUN+" from the Unity Asset Store. I got the confirmation email for the purchase. However, I accidentally deleted it. It turns out some information on...

View Article


Random Teleportation

Hey guys. In the game I'm making, I want to have it so that the enemy (an empty gameobject for now) teleports randomly from room to room (gameobjects) around it. I've tried to find tutorials or script...

View Article

Random Seconds

Hey guys. I have this script where my Player moves to certain points. I'm trying to make it so the Player moves there at certain seconds, decided by predetermined seconds in a int group. However, I...

View Article

Minimap Help

Hey all. I'm trying to make a minimap in my game that can be viewed by the player on a tablet device (like FNaF). I want it to display a map of a house in which the enemy can be seen and a dot in a...

View Article
Browsing all 122 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>