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"

This script will only print the false option

Even though my AiSoldier runs into the "lose life radius" and gets destroyed, it will always print the text coming from the one that states he was not in the radius.

Something must be wrong, but I dont know what it is :/

alt text

Product Version: UE 4.8
Tags:
more ▼

asked Jun 29 '15 at 10:09 AM in Blueprint Scripting

avatar image

Dannyk90
250 35 36 51

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

1 answer: sort voted first

Well your Actor is destroyed, because the Destroy-node is called anyway.

I dont understand the purpose behind that test (seems redundant) but you might check your collision details regarding overlapping events.

more ▼

answered Jun 29 '15 at 10:24 AM

avatar image

gloim
169 5 9 21

avatar image Dannyk90 Jun 29 '15 at 01:35 PM

cos you see my problem is if i put a script saying "if actor dies, get money" then that means you will get money when youre meant to ONLY lose a life.

avatar image gloim Jun 29 '15 at 02:05 PM

so as i understand you want to filter the overlap result. then why don't just use the output from the overlap event? sorry if I might not understand this

avatar image Dannyk90 Jun 29 '15 at 02:23 PM

One of my comments got removed lol.

I want to say: "When this actor dies -> if in this radius, then lose a life, if not in this radius, then get money."

Or am I going about this totally wrong ?

avatar image gloim Jun 29 '15 at 03:05 PM

I was just curious why you didnt use the overlap event outputs for comparison

avatar image Dannyk90 Jun 29 '15 at 05:02 PM

I've decided to put them in separate places and do it that way, thanks for trying to help :)

(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