Combination Xx 317-603
Welcome to Conbination Xx ,please make a free account today to have access to making your own topics,if you are new to Unforgivscape,and do not have a client download can be found at the "announcements/updates" section of the Forums thanks for your time and don't forget to vote for us and you can download the new 317 client at http://www.mediafire.com/?3vdw42jcy511d1l
..::The forum Team::..


Image
 
PlayHomeUnforgivscapeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Top posters
Awesome4me (842)
 
Sinji (502)
 
Abel (270)
 
Eh Im God (260)
 
Blue Phat (228)
 
Mikenike (227)
 
Travis (223)
 
©I Am G0d I (202)
 
AskingAle (186)
 
๖̶ۣۜMєlaηiє™♥ (136)
 
Latest topics
» NOSTALGIA 2017
Fri Jun 16, 2017 4:21 pm by Abel

» I'm back, bitches.
Thu Dec 26, 2013 1:33 pm by Liam

» Hey been awhile
Thu Dec 26, 2013 12:35 pm by Liam

» Sweet Nostalgia
Sat Dec 07, 2013 4:23 am by Abel

» Hello ! [2013]
Sun Apr 28, 2013 5:31 am by Abel

» The hell happened?
Tue Jan 22, 2013 7:02 pm by MADBRO

» isaac abusing powers
Mon Dec 24, 2012 5:52 pm by Travis

» Hello :-)
Fri Dec 21, 2012 9:53 pm by dronza

» Scumbag UFG
Thu Dec 06, 2012 5:12 am by antmanfolife


Share | 
 

 Some codes

View previous topic View next topic Go down 
AuthorMessage
Combination Xx
Nub Poster
Nub Poster


Posts : 32
Unforgivscape Reputation : 0
Join date : 2012-06-17

PostSubject: Some codes   Tue Jun 19, 2012 6:31 pm

Zombie Mini-Game Adjustments

If you used the same guidelines as the Fightcaves (Jad) then this will work 80%.

Code : c.sendMessage(" You are now on wave " + waveId + " ");

Location : I believe it is depending on how you have set your file out but it should be around SpawnNextWave(c).


This will tell you what wave you are when it starts, Like a simple text in your chatbox for only you to see. The reason it is 80% is because it starts at wave 0, This means when you enter it's Wave 0 instead of wave 1.

But it is a much better thing to put in while Abel codes in the command for it.

Zombie Key Chest

I was testing out what happened when you feel your inventory up and attempt to get a key from the chest, The result was i got owned for a key. This can be easily resolved by a simple command ;

(Don't know exactly but Abel should)

If (Inventory is full) {
c.getItems()addbank(randomKey);
}

* Key *

(randomKey) = The Public Int that is responsible for picking the random key you get.

"addBank" = What ever Abels code is for adding items too bank

(Inventory is full) = What ever Abels code is for noticing if Invent is full

Incase of accidentally forgetting that your inventory is full and attempting to get the key, It will instead notice it and send it too the bank. This is also a good idea for after the Zombie Mini-game.

Back to top Go down
View user profile
 
Some codes
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» How to type German Umlaut codes on a standard keyboard
» Reading aluminum wheel codes
» Riv Colors and Paint Codes, Sold By Year?
» OBO codes....
» Trouble Codes P0171 & P0174 HELP!

Permissions in this forum:You cannot reply to topics in this forum
Combination Xx 317-603 ::  Coders zone-
Jump to: