I am making a game where points are calculated based off of how many objects the player is able to place in the target area
the objects are all actors under a parent class, and I placed a trigger box in the area where the player is supposed to take the objects. I want to make the trigger box increment an integer count by 1 every time the player drops an object of the specific class into it.
is this possible to do? and if so how would I go about doing it? or should I do something different?
On your trigger box where the objects are dropped create the overlap event. The first node in it would be a castToYOUROBJECTNAME pulled out of otherActor from the overlap event. If the cast succeeds, you have a object of the class you wanted. you can also pull out of otherActor and use the node getClass.