Print Page | Close Window

different respawn for classes

Printed From: Mirage Source
Category: Tutorials
Forum Name: Temporary Archive (Read Only)
Forum Discription: Temporary 3.0.3 archive tutorials, will be deleted when converted.
URL: http://ms.shannaracorp.com/backup-forums/forum_posts.asp?TID=175
Printed Date: 20 December 2006 at 5:52pm
Software Version: Web Wiz Forums 8.01 - http://www.webwizforums.com


Topic: different respawn for classes
Posted By: Sync
Subject: different respawn for classes
Date Posted: 11 February 2006 at 3:16pm
originally posted by: funkynut
Not sure if this'll work but in server, moddatabase change


Public Const START_MAP = 1
Public Const START_X = MAX_MAPX / 2
Public Const START_Y = MAX_MAPY / 2


to


public START_MAP as byte
Public START_X as byte
Public START_Y as byte

select case getplayerclass(index)

case 0
START_MAP = 1 '<----insert first class starting map here
START_X = MAX_MAPX / 2 '<---Insert map x, or leave it as it is, if you leave it as it is it'll warp you to the middle of the map
START_Y = MAX_MAPY / 2'<--- same here but with Y coords

case 1
START_MAP = 1
START_X = MAX_MAPX / 2
START_Y = MAX_MAPY / 2

case 2
START_MAP = 1
START_X = MAX_MAPX / 2
START_Y = MAX_MAPY / 2

'repeat the above cases as many times as you have classes
'once you've done that, end the case select

end select



Print Page | Close Window

Bulletin Board Software by Web Wiz Forums version 8.01 - http://www.webwizforums.com
Copyright ©2001-2006 Web Wiz Guide - http://www.webwizguide.info