GameBuilders CommunityLog in

GameBuilders - Video Game Development Community, including Resources, Forums, Marketplace & More.

Recourses from TUT 4

Share

descriptionPlease help????

more_horiz
Hi ive been following your tutorials but keep coming across three issues bellow any thought on what can be causing them would be great. Smile

1)
UnassignedReferenceException: The variable weaponTarget of 'Gun' has not been assigned.
You probably need to assign the weaponTarget variable of the Gun script in the inspector.
Gun+<FireOneRay>c__Iterator2.MoveNext () (at Assets/Weapons/Scripts/Gun.cs:393)
UnityEngine.MonoBehaviour:StartCoroutine(String)
Gun:MachineGun_Fire() (at Assets/Weapons/Scripts/Gun.cs:217)
Gun:Update() (at Assets/Weapons/Scripts/Gun.cs:112)

2)
UnassignedReferenceException: The variable theBullet of 'PrefabShooting' has not been assigned.
You probably need to assign the theBullet variable of the PrefabShooting script in the inspector.
UnityEngine.Object.Internal_InstantiateSingle (UnityEngine.Object data, Vector3 pos, Quaternion rot) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineObject.cs:73)
UnityEngine.Object.Instantiate (UnityEngine.Object original, Vector3 position, Quaternion rotation) (at C:/BuildAgent/work/d3d49558e4d408f4/artifacts/EditorGenerated/UnityEngineObject.cs:83)
PrefabShooting.Update () (at Assets/Tutorial 5/Tutorial 5/PrefabShooting.js:9)

3)
NullReferenceException: Object reference not set to an instance of an object
AimDownSights.Update () (at Assets/Scripts Package TUT 4/AimDownSights.js:11)

descriptionRe: Recourses from TUT 4

more_horiz
trojqan1980, if you have any problems then please make a post in the help section of the forum.

--New Developer

descriptionRe: Recourses from TUT 4

more_horiz
i cant download the gunscript because i cant open the adf.ly/QhbYM pls giv me another link (not any adf.ly) pls:?: Question Question  

descriptionRe: Recourses from TUT 4

more_horiz
where is the "gun" script. i downloaded the package and it only had "aim down sites", "gun movement", and "hide cursor"

descriptionRe: Recourses from TUT 4

more_horiz
where is script link its just a adfly nothing else Sad where to download code

descriptioncant dl the tutorial 4 asset

more_horiz
i cant download the file in the link you have given for tutorial 4 please help. thank you..

descriptionRe: Recourses from TUT 4

more_horiz
I cant download it

descriptionRe: Recourses from TUT 4

more_horiz
help my gun doesnt aim down the sights it just zooms in i set the position of my arms in the aimdownsights .js but it just zooms rather than aiming down the sights : Mad

descriptionRe: Recourses from TUT 4

more_horiz
Like your vids so much

descriptionRe: Recourses from TUT 4

more_horiz
how do i use it
Permissions in this forum:
You cannot reply to topics in this forum