Announcement

Collapse
No announcement yet.

error c2062: 'value': undeclared indentifier

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    error c2062: 'value': undeclared indentifier

    Hello dear community

    I've been following a tutorial on udemy about "Create Multiplayer Game With C++" and the using version is 4.17.2 since mine is the 4.20
    so when i write the codes after compile it shows me this error:
    error c2062: 'value': undeclared indentifier:




    https://imgur.com/a/SwwudyF


    and i have no idea what should i do?

    these are the codes i used:

     
    Spoiler


     
    Spoiler

    #2


    void ASCharacter::MoveRight(float value)
    {
    AddMovementInput(GetActorRightVector()* Value);
    }
    Code is case sensitive. Here you've declared a parameter with a lower-case v, but you're trying to use it with an uppercase V - so the compiler is saying it doesn't exist.
    Able Ability System - A high performance, robust ability system for UE4. Now Available!

    Comment

    Working...
    X