Assert Macro



  • Any chance of having an AssertAlways macro similar to LogAlways and WarnAlways?


  • Developer

    What happens when you try using the `AssertAlways macro? We didn’t have time to try it, but it’s in there in some form.



  • @CrustaceanSoup:

    What happens when you try using the `AssertAlways macro? We didn’t have time to try it, but it’s in there in some form.

    I’ve not actually tried AssertAlways because every SDK changelog only included LogAlways and WarnAlways. I assumed it wasn’t there to begin with.
    I’ll give it a try with `AssertAlways(true==false) and see how it goes, Thanks.

    EDIT:

    Just tried:

    `AssertAlways(true==false);

    on StartRound() and nothing.

    It compiles, but it doesn’t cause UDK to shutdown nor does it report anything on stdout/logs.


Log in to reply