Announcement

Collapse
No announcement yet.

Prefix in Map name

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

    Prefix in Map name

    I get this 'UEDPIE_0_ShowRoom', when I use GetWorld()->GetMapName(). However, I expect to only have 'ShowRoom'. UE4 add prefix 'UEDPIE_0_' for me. Anyone have solution? Thanks.

    #2
    UEDPIE is correct cause the map is loaded inside PIE. if you are doing a name check, you would want to strip everything but the name.
    Game Programmer - Working for a Indie Studio.

    Visit my blog: TheGamesDev

    InterKaos Games

    PC Specs:

    Comment


      #3
      Well
      Originally posted by rexy729 View Post
      I get this 'UEDPIE_0_ShowRoom', when I use GetWorld()->GetMapName(). However, I expect to only have 'ShowRoom'. UE4 add prefix 'UEDPIE_0_' for me. Anyone have solution? Thanks.
      Well~ I may use regex to remove the prefix anyway... its so annoying.

      Comment

      Working...
      X