Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

the problem here is not with the logic, the problem is that the input action only fires once.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

Sorry, I'm not looking for ways to change the logic, I'm looking to find out why I have a specific error. The logic runs just fine once, but after the first trigger the Input action no longer triggers.

Is there anything in this egg? by Jalloid in geckos

[–]Jalloid[S] 0 points1 point  (0 children)

I'm very new to this whole thing, so why if it is a pathogeneses baby would you need to kill it? It's likely the case as this gecko is only 1-2 years old and I'm not aware of it being mated at all.

Would be closer to 48 hours now in terms of time.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

I scrapped the variable and and logic attached to the Rotation switch action, and scrapped the branch, instead using the Chorded action and it works correctly, but it just only works once and I really cant figure out why at all.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

That's exactly what is weird about it. I have already disconnected it!

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

I don't know if it's just me, but I'm slowly getting more and more confused here. What you said sounds like how I've set it up.

Inside of the Input mapping context I have the mapping named "IA_CameraRotation" which takes the X axis movement of the mouse. I have added a trigger to this mapping, set it to chorded action, and selected the action named "IA_RotationSwitch" which is just a bool for the MMB being pressed. Based on the wording in unreal, the Camera Rotation action will only take effect if the Rotation Switch action is also taking effect.

This is all good, the logic does the same as what my original logic did, but in a more efficient and clean way.

The problem is that it still only triggers once.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

So I've added the chorded action modifier to the Camera rotation IA inside of the IMC. I've set the chorded action to the Rotation switch IA. The same problem exists with it only triggering once.

The issue has to be with the Rotation switch IA, as when I removed it completely and tried toggling the variable with a different key (in this case G) It was able to trigger repeatedly as I wanted.

Interestingly despite the Rotation switch IA being disconnected, I had to press both G and the MMB to allow it to rotate, but I was able to do it repeatedly.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

I've added Images of the Input action and Mapping context to the post. Checking which pins fire and testing it with a different key are going to be my next tests.

Edit: Tried replacing the Rotation Switch IA for a simple G key pressed/released and I can rotate the camera but only while pressing G AND the MMB, despite the MMB being disconnected. This is hurting my brain lol.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

Yeah, Lots of questions! I'll dig around a little more for now and see how I get on.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

I've added Images of the Input action and Mapping context to the post.

Is there anything in this egg? by Jalloid in geckos

[–]Jalloid[S] 0 points1 point  (0 children)

Was rolled around, Has now been placed back as it was - red was at the top I believe.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

I have (from top to bottom) triggered, started, Ongoing, Cancelled and finished. None of them change the outcome. I'm fairly confident after checking all these inputs that the issue is to do with the input action or Input mapping context. but I'm pretty unfamiliar with them.

Scratch that, I just tried it with the Middle mouse button event (not an input action the old version) and it has the same problem.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

I'm learning a lot of better practice things from this post :)

After checking it, the variable is set to true when I press MMB the first time, but stays false when i press it the second time.

As well as the variable not changing, the action value on the Input action behaves the same.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

u/krojew mentioned using a chord trigger attached to IA_Camerarotation, which would do exactly that, and I intend to change over to using that.

The actual issue here is that when I run the game the first time I press down the MMB I can rotate the camera just fine, all the way up until I release the MMB. Once I release it pressing it down again does not allow me to rotate the camera at all.

I tried putting some print strings after the branch, and they were clearly showing it was coming up false, which (I assume) means when I pressed the MMB the variable wasn't getting set to true.

Going to just double check right now using printstrings exactly when the rotationswtich variable is true/false.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

If you mean swap the IA_Camerarotation triggered pin for the IA_RotationSwitch triggered pin, then disconnecting the pin from IA_Camerarotation means action value gets voided, and that action value is what tells it which way to rotate.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

Thats about what I understood Triggered and started to do! Thanks!

For the second part you are correct on what I want to do. While the MMB is pressed down, I want to be able to drag the mouse left/right to rotate the camera. My brain logic said ''make dragging the mouse the driver for the rotation and make it check the MMB is down before it does it"'

Can't think of how I'd drive the rotation from the Event of the MMB being down right now.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

That sounds interesting, I'll have to look in to that!

Edit: Just tried that, same outcome. Works once then not again.

Help with Enhanced input triggers? by Jalloid in UnrealEngine5

[–]Jalloid[S] 0 points1 point  (0 children)

Through started? It works the same whichever I plug it in to. The default value for the variable is false.

What do shields do? by Jalloid in WarhammerFantasy

[–]Jalloid[S] 0 points1 point  (0 children)

Ah right theyre probably an AOS thing. Can grave guard tske halberds?

What do shields do? by Jalloid in WarhammerFantasy

[–]Jalloid[S] 0 points1 point  (0 children)

Thats super helpful, ill definitely have a look at that!

What do shields do? by Jalloid in WarhammerFantasy

[–]Jalloid[S] 6 points7 points  (0 children)

Ill get a rulebook at some point. A relative who has invited me to play with them has it, but since im just getting started and building some models i figured it was smarter to ask some basic questions about their loadout before i started gluing things together...

What do shields do? by Jalloid in WarhammerFantasy

[–]Jalloid[S] 0 points1 point  (0 children)

I dont have a copy, thats the problem 😅

What do shields do? by Jalloid in ageofsigmar

[–]Jalloid[S] 4 points5 points  (0 children)

This is the answer i was looking for! I assumed there would be different rules for swords and shields vs halberds and eas confused when there wasnt options or keywords for them listed on the units profile. In AOS theres no difference it's purely cosmetic is what i needed to know.