x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UPROPERTY meta specifier not working

Hi all,

I have an implementation problem with meta specifiers apparently in VS 2017 with UE 4.18. I am also using Visual Assist.

I'm just getting into C++ and this is the first time I've tried to use the meta specifier for a UPROPERTY. My implementation doesn't recognize meta specifier (doesn't highlight properly), and then i get these compile errors. I discovered this while doing a tutorial. The instructors implementation worked fine. I think he is using VS 2015 though.

would a kind soul clue me in on what might be wrong with my implementation?

(Not highlighting properly) ![alt text][1] [1]: /storage/temp/230932-metatagissue.jpg

Errors: ... error : Expected a metadata key ... -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command.

If I remove the meta specifier everything compiles fine.

Product Version: UE 4.18
Tags:
metatagissue.jpg (13.6 kB)
more ▼

asked Feb 16 '18 at 08:16 PM in C++ Programming

avatar image

MagicBots
23 3 9 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi

delete extra comma after "ClampMax" word )

it's compiled:

 UPROPERTY(EditDefaultsOnly, Category="Player", meta = (ClampMin = 0.1, ClampMax = 100))
 float ZoomInterpSpeed;
more ▼

answered Aug 14 '19 at 08:33 AM

avatar image

6r0m
653 18 17 26

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question