Announcement

Collapse
No announcement yet.

Can't Actor in my property

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

  • replied
    Then it is wrong to put PlayerTeleport Class in the Pawn?
    Thanks in advance.

    Leave a comment:


  • replied
    Because you can't specify another actor at compile time.
    You have to set the Property to ExposeOnSpawn and place your Blueprint in the World. Then you are able to pick another Actor.

    Leave a comment:


  • started a topic Can't Actor in my property

    Can't Actor in my property

    Can't add Actor in my property
    Click image for larger version

Name:	asd.PNG
Views:	1
Size:	231.0 KB
ID:	1225219

    Code:
    UPROPERTY(VisibleAnywhere)
    		AActor * PlayerToTeleport;
    	UPROPERTY(EditAnywhere) //cant add actor from the scene .Even when I choose, it stays none. 
    		AActor * CollisonVolume;
    	UPROPERTY(EditAnywhere) //no problem
    		FVector TeleportTo;
    Knowing that this is not a placed blueprint .
    Last edited by A-NASR; 07-12-2017, 12:58 AM.
Working...
X