Code: Select all
if (mo isnot "MyCoolActor")
Code: Select all
if (!(mo is "MyCoolActor"))
Moderator: GZDoom Developers
Code: Select all
if (mo isnot "MyCoolActor")
Code: Select all
if (!(mo is "MyCoolActor"))
both of those would require significant changes, due to how zscript parses operations (isnot wouldn't require them -- it follow the same rules as any other operation like is)
Actually, they wouldn't require much of a change at all. Have you seen how ZScript does 'static const'?RicardoLuis0 wrote: ↑Thu Jul 06, 2023 12:26 pmboth of those would require significant changes, due to how zscript parses operations (isnot wouldn't require them -- it follow the same rules as any other operation like is)