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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

How to forbid a function call in UE-Editor through "this" (reference to class-object)?

I declared a static public UFUNCTION in my cpp-code. I want this function to be callable in blueprints only without additional pin "target" (which appears now, if I add this block to blueprints by dragging a blue wire out of a reference to an object of my class. However, if I add this block to blueprints by dragging a white (execution) wire - it's ok - block of my function appears without additional "target" pin. Can I forbid the appearance of this additional "target" pin in blueprints?

Product Version: UE 4.7
Tags:
more ▼

asked Jun 03 '15 at 02:02 PM in C++ Programming

avatar image

Sashka
93 15 22 23

avatar image BaderThanBad Jun 03 '15 at 02:34 PM

I'm not sure, but for my static functions I use the UFUNCTION tag BlueprintPure, maybe that is what you want.

avatar image Sashka Jun 03 '15 at 06:16 PM

Thanks, but it does not fit my situation. Because, with BlueprintPure you lose the execution in & out pins. But my function contains certain logic, I want to be executed at concrete point of whole program logic.

avatar image Shadowriver Jun 03 '15 at 07:48 PM

I don't really understand what you mean, you create static function, so "target should not apper as you wanted.

avatar image Sashka Jun 11 '15 at 08:20 AM

I agree - "should not" but it does

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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