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

Knockback Spell?


PoisonGravy
 Share

Recommended Posts

Do you mean could a player use it on an NPC?
I think it would. Of course you'd have to have an if statement to determine if the target is an NPC or a Player. Because the commands would be different accordingly.

I think it's something like
```
if GetTargetIndex(Index)<0 then
    'NPC
else
    'Player

```
Something like that.
Link to comment
Share on other sites

Oh but can't you use SetPlayerX()/SetNpcX() or something?

Because if you warp the player then it reloads the map which could cause a bit of issues with PVP plus, there's that glitch where sometimes a player freezes up when they try to load a map so they could have to quit the game if you warp them.
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...