Jump to content

Recommended Posts

Hey everyone! I'm trying to make a widget, that'll show up when some event in the world is pushed. I've made a widget using savindicator.lua, but I don't know how to add it to the player, and how should I open it on some event. Does anybody knows how to do it? 

Thanks for your replies! I can give you elegant skin, if someone'll help me!

My mod is riiiight here:

widget.rar

 

Edited by makar5000
  • Like 1
Link to comment
Share on other sites

@makar5000 I'm not a DST modder but my team and I did implement a new widget on DS/DLCs. What I can tell you is that instead of basing ours on widget, we based our on a badge. In order to "connect" it to the player we added a few lines of code in a postinit section (which you don't appear to have) where we used the sim.lua to directly attach it to player and the player.lua to call for events and such... Hope this helps !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...