Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Register Callouts based on RAGENativeUI

Featured Replies

csharp-logo.png

Hi there!

I'm working on a callouts plugin which I'd like to utilise the RAGENativeUI to choose which callouts are loaded.

The user will select an option on the RAGENativeUI (left/right lists) to choose a specific option (one I will not release at this time), which will change which callouts I want to load.

For example, callout1 would only suit one of the options, so I would only want it to load when one of the menu items is selected.

I'd also like to have it so that the callouts don't just load when the duty is initialised, but also when the option is changed and a button pressed to confirm it during game play.

Thanks for your help!

 

In short:

  • User selects option on RAGENativeUI.
  • Based on this option, only a few callouts would load.
  • If the user changes the option on the menu, it is automatically updated and the new callouts are loaded. (optional feature)

Please quote or @Wilhelm me in threads if you're wanting my attention/response!

While I'm quite sure nobody here is going to write your source code for you, I'll happily point you in the right direction (and perhaps provide guidance if you encounter trouble writing it). Take a look at the RAGENativeUI examples, which should be plenty helpful for you to figure out how to do this.

A possible way to accomplish what you want would be to use checkboxes and call Functions.RegisterCallout() depending on whether a certain checkbox is checked. You can also use the Checked event to load new callouts whenever the user checks a box afterwards.

Regs.

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.

  • Author
9 minutes ago, Albo1125 said:

While I'm quite sure nobody here is going to write your source code for you, I'll happily point you in the right direction (and perhaps provide guidance if you encounter trouble writing it). Take a look at the RAGENativeUI examples, which should be plenty helpful for you to figure out how to do this.

A possible way to accomplish what you want would be to use checkboxes and call Functions.RegisterCallout() depending on whether a certain checkbox is checked. You can also use the Checked event to load new callouts whenever the user checks a box afterwards.

Regs.

Thanks a bunch, I've just been following your YouTube series.

That sounds like a fantastic way of doing it, much better than the over complex way I was thinking things through!

Keep well,

Fluffy.

Please quote or @Wilhelm me in threads if you're wanting my attention/response!

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...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.