Quantcast
Channel: Latest Questions by TheGeekyDead
Browsing latest articles
Browse All 22 View Live

How to turn a fire object on with a key press?

I have a script to turn lights on/off, but i want to be able to turn a camp fire on with another key but i dont know how to do it. i tried to edit the light switch script but i have no clue what to...

View Article



Postion GUI Texture in the center when called?

My script is working how i wanted it except one issue, when it does call the GUI Texture i have to manually Position GUI Texture, or if i move the object in the world it will mess up and appear in...

View Article

Created an Open Close Animation, but script wont activate both doors?

I have a sliding door, i already made the 2 animations for each door. Open and Close, i have the collider set as a trigger, and a sound on the trigger object. When i walk into the collider i hear the...

View Article

'System.Type' Error, with FootStep Script.

Ok i found this script while searching, it's excatly what i need but i have an issue with it. I created each "Tag" already and marked the aproperate Objects with said tags. And i made the Sound file...

View Article

Global Fog On/Off not working right.

In the Render Settings > I setup my fog (Color,Density,So on) and Checked it On. And in my script i have it set to Disable it at start up, which it does. But when i press P i can see the Fog turn on...

View Article


Score not increasing on Object collision.

I have this script attached to my player, and the object is Tagged correctly "DestructibleObject". But nothing happens the score never increases it always says Score : 0 when i collide with it. Can...

View Article

Having issues with C# flashlight script (CS0117:)

Before i updated this morning it was working as intended, but i want to display an image in the upper left of the screen. Basic image letting the player know FLash light Off(Gray Out) and Flashlight...

View Article

New Camera ignores my flashlight,. (No Errors)

Ok so i made this java script and attacked it to my Blackout_object. It works great i walk into the Collider and the "power Outage Sound" plays and the screen goes black. I walk out the lights come...

View Article


Intro, Text scrolling wrong direction (Down not Up)

I found this example it works, i modified it a bit for a skip feature and aligned it center. All works fine but it scrolls from the Top to the Bottom? I want the other way around > Bottom(start) to...

View Article


Swapping GuiTextures, wont reset after last if statement.

Ok so i just made this script and added it to a new Empty Game Object, it all works fine "no errors" the first Image appears as it should. I press space bar and the sound plays and the texture is...

View Article

Text [BOX]/[GUIText] loads wrong, and no fade text in/out?

I'm having trouble making a Story Text, that the user can read as it fades in and out, as part one fades out it enables part 2, so on. I can make the text appear on the screen with the "GUI.Text"...

View Article
Browsing latest articles
Browse All 22 View Live




Latest Images