Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Help with some basics


kwali
 Share

Recommended Posts

```
Sub hpPot(index, addhp)
addhp = Call GetPlayerHP(index)+addhp
SetPlayerHP(index,addhp)
End Sub

```trying to make a potion that will increase the players hp by an amount
I'm completely new to all of this and very confused lol so I need as much help as I can get on how to make this work  :confused:

EE 2.7
Link to comment
Share on other sites

ty it works
but how do I destroy the item after it has been used
also, this is a different problem but whenever I talk to an npc in game, if I give them text to say, the text will show up 4 times, how can I fix this?
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...