Location: JBPLAY \ Meteor 2 \ Editing \ Saving your multiplayer progress Back to Threads |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
24 February 2006 19:14 (UK time)
I wanted a way to save your progress in mp games, so I came up with this bit of script I will probably make it into a seperate standalone script for mp maps =D void Save() { StaticFlags[99] = 0; int x,i,c,v; //Money x = SC_GetItemCount("Credits" ![]() StaticFlags[99] = x; SC_GiveItem("Credits",-x); //weapons if(SC_GetItemCount("Whatever" ![]() { c = SC_GetItemCount("Whatever" ![]() v = item value; StaticFlags[99] = StaticFlags[99] + c*v; SC_GiveItem("Whatever",-x); } for( i=0; i<(StaticFlags[99]/1000); ++i) { SC_AddObject( "CreditsSafe.ob", x,y, 0, AI_NONE, 0, "", 0, 0, 0); } } You need to login to create posts in this thread. |
40oz![]()
![]() Joined: 03 January 2004 Posts: 1799 |
25 February 2006 19:17 (UK time)
? Good luck saving your opponents on Multiplayer =D
You need to login to create posts in this thread. |
me_mantis
![]() Joined: 26 September 2003 Posts: 1152 |
26 February 2006 05:48 (UK time)
This may or may not be a hint to what I've been up to..... Its mainly meant for coop games. I also revised it, but the basic principle still stands. After you die, you can still click toolbar buttons, and thats where the idea came from. You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use