Gamestudio Links
Zorro Links
Newest Posts
How to buy tomorrow at open?
by frutza. 06/01/23 19:58
Adding Position to Current Trade
by AndrewAMD. 05/30/23 10:34
Unable to change multiplier of contract
by vicknick. 05/30/23 06:56
Wrong Definition of Sharpe Ratio in Zorro?
by vicknick. 05/29/23 06:32
Backtest strategy on bitcoin/crypto
by JamesHH. 05/26/23 04:36
Return type of floor()
by AndrewAMD. 05/25/23 14:17
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (AndrewAMD), 1,065 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
BInnacle, androsa, XquicksnowX, danishinvest, Trail
18942 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Level Changing #165544
11/03/07 20:23
11/03/07 20:23
Joined: Nov 2007
Posts: 1
P
Pegasus Offline OP
Guest
Pegasus  Offline OP
Guest
P

Joined: Nov 2007
Posts: 1
How do I change from level to level. Say I have a level with a door in it. Player opens the door and walks in - What script do I use to move the player from level_1 to level_2 by using the door?

Any help would be appreciated.

Re: Level Changing [Re: Pegasus] #165545
11/03/07 20:59
11/03/07 20:59
Joined: Jan 2006
Posts: 968
EpsiloN Offline
User
EpsiloN  Offline
User

Joined: Jan 2006
Posts: 968
There are many diffrent ways but the most common is to place an entity that will serve as trigger , when the player collides with it (with ent_move/c_move , event_entity or event_impact is triggered) it executes 'load_level' function (or was it level_load?)
I'd do it using two vars , if a player.x is more than , and less than (same for y) load_level...
Check in the AUM , I think there was something about changing levels + carrying your items (using the templates) with you.


Extensive Multiplayer tutorial:
http://mesetts.com/index.php?page=201
Re: Level Changing [Re: EpsiloN] #165546
11/04/07 02:35
11/04/07 02:35
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
in the templates, there is the level change script, but the script only allows you to change levels 9 times, but i use a script for the au resources, that allows for 100 levels, it works great! you just have to include it in your scripts.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: Level Changing [Re: Blink] #165547
11/04/07 04:34
11/04/07 04:34
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck


Moderated by  HeelX, Tobias_Runde 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1