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"

Bug + lag With Event tick and AI

Since i place a Player Start in my game my AI have started bug.So I decide to remove my Player Start but my AI do same thing. I think it relates to my Event tick but i do not know more.

alt textalt text alt text

Product Version: UE 4.21
Tags:
1.png (380.9 kB)
2.png (427.0 kB)
3.png (363.5 kB)
2.png (427.0 kB)
3.png (363.5 kB)
more ▼

asked May 23 '19 at 09:30 PM in Blueprint Scripting

avatar image

Étiboogi
1 1 4

avatar image Étiboogi May 23 '19 at 09:41 PM

I Finally I think the problem is because of the player, I can not control it

alt text

I control this thing instead of my player

bougwtfe.png (524.7 kB)
avatar image BOBtheROSS May 23 '19 at 09:51 PM

Your hero variable seems to be empty becasue the cast on the event begin play failed. Judging from your second screenshot the player has no Player Character. I don't know how but maybe your player didn't posses any pawn.

Or your player character simply is not an instance of the class "BP_remy". Maybe you player is spawning itself another class as pawn to posses it (look into your game mode BP or world settings)

IN oyur Target Point Police function I don't really understand the casting of the class to another class especially since it's a constant you put in there (is this function unfinshed?). For the spawn you usually would just select a class you want to spawn.

(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