Jump to content

Need help with using Water Balloon Code


Recommended Posts

So I've been trying to make a new item with the Water Balloons code and well it's rather confusing since i can't seem to find what I'm looking for..

 

I found balloon.lua in the prefab files of dst and used some of that code and well it doesn't seem to work...

 

There's multiple balloon files like balloon shapes anim, empty balloon anim and etc which is confusing me so much because some of the code in balloon.lua requires the other files to work... I just want a simple code for what the water balloon does - Throw it and it explodes on impact.

 

So if anyone can help me get a working code that simply just allows me to throw a item that can explode on impact

 

Also if possible a timer for when thrown and it lands to then delay and not just explode instantly on impact

 

 

 

Link to comment
Share on other sites

@ZombieTG, where are you finding the actual water balloon code because it's not in balloon.lua. It's located in waterprojectiles.lua.

 

If you're trying to use the balloon.lua file you will only create balloons like Wes.

 

Oh crap lol, sorry I'm quite new to the whole modding thing

 

I'll look at that now and get back to you if i can get it to work...

 

I was using the balloon.lua code

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