Jump to content
Fiskey111

[ Request for LSPDFR 0.4 ]

Recommended Posts

Hello!

I was wondering what the odds of an API function to disable the availability of callouts!  L.S. Noire uses the API for its Persona and pursuits, however it doesn't utilize the callouts.

While I know that this might seem a bit too intense for a plugin to control, the community will easily weed out any plugins that overuse this.

Of course, if you wish to not implement this I will add reminders to have the player manually do it, however I would prefer to do it through the plugin during the stages, then reactivating callouts when a stage is completed.

Thanks!

Fiskey111


Secondary Callouts FINAL V1.0.0.0 Download

PolicingMDT Download

LS Noir -- WIP Forum Post

If your work gets stolen, consider it a complement- someone saw how great you are and wanted to be like you.

Share this post


Link to post
Share on other sites
11 minutes ago, Suffolk County Skin Co said:

I'm just curious, do you know when 0.4 will come out?

No, I am not a developer of LSPDFR.  I'm sure it will be out sometime though!


Secondary Callouts FINAL V1.0.0.0 Download

PolicingMDT Download

LS Noir -- WIP Forum Post

If your work gets stolen, consider it a complement- someone saw how great you are and wanted to be like you.

Share this post


Link to post
Share on other sites

@Fiskey111 you could possibly block callouts yourself with something like this:

            GameFiber.StartNew(delegate
            {
                while (true)
                {
                    GameFiber.Yield();
                    if (Functions.IsCalloutRunning()) { Functions.StopCurrentCallout(); }
                }
            });

IsCalloutRunning returns true as soon as the callout is displayed, so this should stop it before they can accept it. Might still show the callout notifications to the user though, haven't tested that.


My YouTube Channel: Darkmyre Gaming (Australian LSPDFR patrols, plugins in development, and other games)

My Discord Server | AusGamer Network

 

Please do not PM me for technical support or bug reports, use the appropriate forum or plugin's comments instead.

Share this post


Link to post
Share on other sites
1 hour ago, Darkmyre said:

@Fiskey111 you could possibly block callouts yourself with something like this:

 


            GameFiber.StartNew(delegate
            {
                while (true)
                {
                    GameFiber.Yield();
                    if (Functions.IsCalloutRunning()) { Functions.StopCurrentCallout(); }
                }
            });

 

IsCalloutRunning returns true as soon as the callout is displayed, so this should stop it before they can accept it. Might still show the callout notifications to the user though, haven't tested that.

Alright, that might work for the meantime!  If they could implement an API function to stop them temporarily I'd rather have that but at least that works!  Thank you!


Secondary Callouts FINAL V1.0.0.0 Download

PolicingMDT Download

LS Noir -- WIP Forum Post

If your work gets stolen, consider it a complement- someone saw how great you are and wanted to be like you.

Share this post


Link to post
Share on other sites

A simple solution would be to tell the user to set their availability to Busy using the N menu.

An API option to toggle this setting may be a nice addition too.


My YouTube: Click here. 

My Discord Server - https://discord.gg/0taiZvBSiw5qGAXU

Useful post? Let me and others know by clicking the Like button.
Check out my many script modifications! 
Having issues? LSPDFR Troubleshooter by Albo1125.

Share this post


Link to post
Share on other sites
8 hours ago, Albo1125 said:

A simple solution would be to tell the user to set their availability to Busy using the N menu.

An API option to toggle this setting may be a nice addition too.

That's how I'm planning on going about it, however I figure I might as well ask for an API option!


Secondary Callouts FINAL V1.0.0.0 Download

PolicingMDT Download

LS Noir -- WIP Forum Post

If your work gets stolen, consider it a complement- someone saw how great you are and wanted to be like you.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...