Trouble creating Strife dialogue with custom actors.

Thu Sep 09, 2021 6:23 pm

I've been making a new map and it uses markers with attached Strife dialogue to show logs from in-game consoles. However, I can't get it to work. I've tried it with a ShotgunGuy with success, but if I use my custom actor, it doesn't work.

Here's my custom actor in DECORATE:
Code:
ACTOR InfoMarker 10000
{
   Radius 32
   Height 64
   +NOGRAVITY
   +NOBLOCKMAP
   +NOLIFTDROP
   +NOTARGET
   +DONTMORPH
   +DONTSQUASH
   +NOTELEOTHER
   +FLOATBOB
   +NONSHOOTABLE
   States
   {
   Spawn:
      ARRW A 4 Bright
      Loop
   }
}


And here's the ZSDF code:
Code:
namespace = "ZDoom";
include = "SCRIPT00";

conversation
{
   actor = "InfoMarker";
   page
   {
      name = "Console log";
      dialog = "adsjir8gh0ygh";
   }
}


Any help would be much appreciated.

Re: Trouble creating Strife dialogue with custom actors.

Fri Sep 10, 2021 12:48 am

+NOBLOCKMAP should be removed because it prevents your actor from being detected when a line trace is done to check if the player has a conversation target.

Re: Trouble creating Strife dialogue with custom actors.

Fri Sep 10, 2021 7:33 am

That fixed it. Thanks!