Announcement

Collapse
No announcement yet.

Problem when adding a property

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

    Problem when adding a property

    Ok, I have a custom Weapon.h / Weapon.cpp someone else worked with but the crosshair works perfectly. Click image for larger version

Name:	crosshair.PNG
Views:	64
Size:	82.0 KB
ID:	1575287

    But then I just add 2 new UPROPERTYs
    Click image for larger version

Name:	codechange.png
Views:	38
Size:	16.7 KB
ID:	1575288

    Now the Crosshair doesnt work properly even though in the BP editor its set ok and been recompiled.

    Click image for larger version

Name:	brokencrosshair.png
Views:	37
Size:	247.0 KB
ID:	1575289

    Any suggestions why? its still showing the correct crosshairs in the BP editor
    Click image for larger version

Name:	crosshairblueprint.png
Views:	40
Size:	7.5 KB
ID:	1575290

    #2
    I don't think there is enough information here to give the best answer.

    Do you have examples of the code in the header and cpp files? If you only remove the lines from the header, does the crosshair work again?

    Comment

    Working...
    X