Operator '
Hi, So I'm new to Unity and I've just been messing around when I encountered this error. I was using this script I found online to make my enemy chase my first person character. I decided to use some...
View ArticleWhenever I shoot a bullet from my gun, the bullet disapears.
So I've had this problem for a while now, and have no idea why its happening and how to fix it. Here's a detailed description of what is going on: So I have first person controller with a gun and an...
View ArticleHow to change a variable in the same script?
Hello, so I have this script attached to a gun my first person controller has. What it does is it plays an animation that zooms in and out the gun when the right mouse button is pressed. What i need it...
View ArticleI'm trying to display my ammo; not working
Hello, I've been using this script to shoot bullets out of my gun, and decided to add ammo and all that to the script. After i did that, I tried to display my ammo but it didn't do anything to the...
View ArticleMy gun can't shoot after some adjustments to the script
So I've asked a simmer question like this before, but the cause of this one (I know for a fact) is different from this one. Anyway, I wanted to keep track off how much ammo I have on my gun so I made a...
View ArticleHow to test if a charactor is walking on terrain (to make a walking noise)
Hello, so I have this walking clip that I wanted to add to the charactor motor script to make it play a sound every time I moved. When i did that, it played that sound if I was moving in the air,...
View ArticleHow to change the font and size of a text in a gui box?
So I finally was able to get my ammo display to work, and was just wondering a few things: - How do I change the font of the text, because it seems to be only in Arial at the moment - How do I change...
View ArticleHow to send a raycast to an object to give me ammo?
Hello, so I have a ammo pack that I has a script which holds a variable. I want to be able to detect the ammo packs from a certain distance, send a message to it telling it to give ammo to my gun. I...
View Article
More Pages to Explore .....