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

Start on one map, respawn on another.


Ganjika
 Share

Recommended Posts

> Or simplier metod you can have it for each map different, just change map properties Boot settings

You use visual basic 6 - However, I am confused as to where to make the changes exactly,

I have nightly (dragon eclipse) release and things are alittle bit different on mine, can't find "ondeath", even

when searching the whole project.
Link to comment
Share on other sites

> You use visual basic 6 - However, I am confused as to where to make the changes exactly,
>
> I have nightly (dragon eclipse) release and things are alittle bit different on mine, can't find "ondeath", even
>
> when searching the whole project.

Sub OnDeath in modPlayer.bas server-side.

Here's how you can do it for all maps:

```

Call PlayerWarp(index, START_MAP, START_X, START_Y)

```

to:

```

' Map #3, X 5, Y 7.

Call PlayerWarp(index, 3, 5, 7)

```
Link to comment
Share on other sites

> Sub OnDeath in modPlayer.bas server-side.
>
> Here's how you can do it for all maps:
>
> ```
>
> Call PlayerWarp(index, START_MAP, START_X, START_Y)
>
> ```
>
> to:
>
> ```
>
> ' Map #3, X 5, Y 7.
>
> Call PlayerWarp(index, 3, 5, 7)
>
> ```

Epic! Thanks, btw - Ondeath is different than when you are first spawned the first time playing a character? - How would i set that (and make the spawn point for first spawn diff than ondeath)?
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...