If step 1 is truthy, I want to scale the damage to the victims health.
I’m new to Verse and having trouble navigating all the documentation.
Any help would be appreciated, and if I’m using the forums inappropriately, a heads up would also be good!
P.S. The code above is pusedocode and definitely has an error involved. It was also experimental code for me to try to get a better understanding of how it works (I watched a youtube video about damage_result) so it may not make the best sense given what I’m trying to do.
I think you’re on the right track. Idk if it’s possible to detect pickaxe. You might have to use conditional buttons to make sure the instigator is NOT holding their weapons, which would guarantee it was a pickaxe. Item instigator data probably will come with the rumored item device release
It doesn’t exist unfortunately. Here’s a look into the class.
I’m trying to use “Source” but I’m unfortunately running into a problem which is that I have no clue what is contained in there. I also can’t print out the data because there is no toString conversion from the game_action_causer to a string representation.
What would the implementation of that look like?
Do I need to have conditional buttons to check for all weapons that are available and check to make sure they all return false? That could work. However what do you mean “conditional button”? Is that an object I can find in the Content Browser of UEFN?
Sorry Im late to this, but yes conditional button is a device. It has a IsHoldingItem function that returns false if player is not holding the device’s item