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"

Is it safe calling function from AnimNotify?

I mean if you are building a MULTIPLAYER can you call a function from an animation using animnotify like deal damage, etc.. I know it`s possible, but how safe is it? (fear the cheaters..)

Thanks everyone! :)

Product Version: UE 4.21
Tags:
more ▼

asked Jan 13 '19 at 04:01 PM in Blueprint Scripting

avatar image

Triplexx
9 2 1 4

avatar image ViviDDesign Jan 13 '19 at 09:12 PM

I would not deal damage with AnimNotify... so many better ways to do it. Call a function yes but then do other logic to detect the hit. An I would probebly do a RepNotify with a varible or something.

avatar image Triplexx Jan 14 '19 at 10:07 AM

Thanks for the suggestion!

avatar image ThompsonN13 Jan 14 '19 at 02:46 PM

i agree it is possible though not advisable for something like damage. though for a sword slash particle system using a anim notify could be beneficial. also speaking of logic to detect a hit, ive used animnotitify to do just that by enabling weapon collision in one case and by beginning a line trace on a timer in another.

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

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