Problem:
Player wants to duel in an Arena 1 vs 1, and he can pick from several styles, this will auto-generate an extra Z level, problem is... How do i change everything on that Z level to look like another Z level? if you use world.maxz++, you cant really see which map was extra made, if you use B = world.maxz, its possible that another player has ALSO created a new map, leading to errors, ruining gameplay, anyone get my points?
ID:168585
Sep 24 2005, 2:57 am
|
|
Sep 24 2005, 2:58 am
|
|
Use SwapMaps by Lummox Jr. Excellet utility, just what you're looking for. Mae sure you read the HTML file that cmes along with it.
|
In response to CaptFalcon33035
|
|
Tried it, Dont understand anything of it XD, its so confusing, ill spend some time studying though
|
In response to Xeronage
|
|
lol, It is, I know but it get's really easy once you know ow it works and ater reading the HTML file a few times.
|
In response to CaptFalcon33035
|
|
well, yea, ok, thanks for the info, i needed this for my RPG Type Shooter
|
In response to Xeronage
|
|
Ah, the Gunz game. Why not try and keep the same feel as them?
And just have all the room,level,login selections graphical based? But yea, Swap Maps by Lummox Jr will do the job. |
In response to ScareyGame Cheeser Cheetoz
|
|
Well, it aint really a gunz game, thats just the working name =P, itll look like it a bit... but that graphical room selecting thing... thats just overdoing it.
|
If you get world.maxz immediately after increasing it without any sleep()s or spawn()s in between, then it will be the right z level. BYOND is a single thread language, so it has to complete one course of action before it begins a new one. Sleep causes the current thread to wait until later to continue execution. Spawn branches off a new thread.
|
In response to Xeronage
|
|
Not really, it's basically the same thing is an on-screen Character Creation, or on-screen Inventory. :/
|