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"

How to destroy Blueprint Floor? *Narghile please read this*

@Narghile & others

I'm trying endless runner. I'm spawning 4 floor tiles in Level Blueprint. Every floor contains "Box Collision" at end point. When user overlap it, it create new floor and destroy current one after 2 secs delay.

@Narghile helped me. I was casting my BP_FloorTile in Level Blueprint. But Casting failed. He said Blueprint doesn't exist and I have to spawn one floor manually in the Level. So I did that.

Problem: When player starts from Manual Generated floor tile and overlap Box Collision of first Auto-Spawn tile, I get Infinite Loop error in Construction Script. If I move "Player Start" location to Automatic Spawn Floor Tiles then everything is fine.

I don't want to leave any Floor Tile (Manual generated tile here) in empty space. How can I solve this problem?

Update: Infinite loop error occuring, maybe, because Manually generated tile also contains an "Attach Point" which tells where next tile will come. And as soon Character overlap "Manually Generated Tile" it creates one more tile overlapping first tile of "Level Generated Tiles".

First Case: Character passed the Manual Tile. One Additional tile generated over "Level Generated Tile".

2nd Case: Character passed the both overlapping tiles. And so generated two additional tile.

And so on, at one point there will be infinite tiles. How to resolve this?

Update 2: I can create a BOOL which can check whether it is first tile. If is it first tile then just destroy it, don't call Add Floor Tile Function. And set the BOOL. But I think whenever Overlap event occurs, BOOL value sets to default. I don't know how to make it kinda STATIC BOOL.

Product Version: UE 4.7
more ▼

asked May 22 '15 at 09:36 AM in Blueprint Scripting

avatar image

75 22 19 24

avatar image Narghile May 22 '15 at 11:09 AM

Hi Mate

Working really late tonight, I am free on Sunday to spend some Team View with yu to sort this out, if someone is not able to fix it sooner.

Sorry for other night, did not finish call until 2:00am and tried Team Viewer, but I could not connect.


avatar image yogesh_gamer May 22 '15 at 11:48 AM

I couldn't left open Team Viewer because someone else could access my PC. That's why I asked your FB. But my Friend Request is still pending.

I'm just stuck inside an infinite loop, I'm trying to break it with BOOL. But no success.

Anyway, I hope on Sunday you can help me. Tomorrow I'm going for PainBall and Go Karting. ;)

MY FB: fb/yogesh.gamer (GTA V Profile/Cover Pic) Plz accept the request.

Here is my Overlap Event (If somebody else would like to help me) alt text

unreal.png (205.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Take a look at my infinite runner template https://goo.gl/2cbr4w

more ▼

answered May 26 '15 at 11:28 AM

avatar image

3.5k 152 29 318

(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