Delta1
(Delta1)
January 18, 2018, 5:40pm
1
How do I create a blueprint that ends the game when three objects are collected in a specific order and increments a counter accordingly?
So when object A, then B then C is collected the counter increments to 3 but the objects can’t be collected in any other order and don’t increment the counter either?
Delta1
(Delta1)
January 19, 2018, 9:32am
4
There’s so many ways to do this in BP it might actually lead to decision paralysis. But here’s two simple ways:
#1 . Use Gates (BP Gate node). Gate1 unlocks Gate2 which unlocks Gate3. Gate3 then increments a counter.
#2 . Use a String Append / Search trick. When an object is collected append Objectn to a master-string (where n is 1,2,3 etc). Then as an object is collected search for the sub-string “Object1Object2Object3” within your master-string. If found, then increment a counter, as it means all 3 objects were collected in order etc…
Thanks for that franktech, is there a tutorial of this anywhere that I could follow in practice?
Additionally how would you do this without using blueprints, I’m no good as a programmer
Delta1
(Delta1)
January 21, 2018, 12:10am
6
Collecting 3 objects in order, is similar to punching the correct 3 digits in order on a keypad. So maybe try these:
https://youtube.com/watch?v=9GHY17PtOBQ[https://forums.unrealengine.com/deve...g/83334-keypad](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/83334-keypad)
Tbh this is the most basic stuff. If you’re struggling with this, maybe you can barter 3D skills with a Blueprinter etc?
This is game logic, so it needs a little code. But Blueprints are really just drag & drop, so its not real programming…
Thanks for that, I’ll have a look much appreciated!
But I’m wondering if there is a tutorial out there specifically for sequencing pickups, I probably will struggle otherwise.
Delta1
(Delta1)
January 21, 2018, 7:03pm
9
Can’t say sorry… Maybe someone else will know.
I hardly ever use tutorials, the process is too slow.
They can be out of date too which is frustrating etc.
But at the risk of saying something that may or may not be obvious…
There’s a bunch of Pickup-projects in Community Tools all for free…
And arguably more professional ones on the Marketplace for a fee.
thanks for all your kind help anyhow, it’s much appreciated frank!
Delta1
(Delta1)
January 22, 2018, 6:23pm
10
Can’t say sorry… Maybe someone else will know.
I hardly ever use tutorials, the process is too slow.
They can be out of date too which is frustrating etc.
But at the risk of saying something that may or may not be obvious…
There’s a bunch of Pickup-projects in Community Tools all for free…
And arguably more professional ones on the Marketplace for a fee.
I’m struggling terribly I think if I add this it might clarify what I’m trying to do a bit and would appreciate some help:
4 triggers in map (a,b,c and d) if the player needs to go through the triggers in this order d-c-b-a.
Each time the player goes to a wrong trigger in the sequence a “wrong” sound is heard, however if they go through the right trigger a “right” sound is heard.
I’m really struggling with this, so help would be both massively appreciated and needed