ID:273259
Dec 31 2009, 7:03 pm
|
|
Well, i want make a Mission Code, like Battle Raditz, and when you defeat he u got the Next Mission: Train with Kai
|
Dec 31 2009, 8:19 pm
|
|
Post here if you want other people to make your games for you.
|
In response to Duelmaster409
|
|
i know coding -_-
|
mob/var/inmission = 0 |
In response to Agrey123
|
|
That's a horrible overuse of vars and hardcoded content.
|
In response to Kaioken
|
|
Well Kaioken, not hard but a little overuse of vars.
|
In response to Revolution Gohan
|
|
A little? Would have been better to have one variable keeping track of one quests. Better yet, a list of variables keeping track (especially for quests that you can repeat).
|
In response to GhostAnime
|
|
How do u make one variable for like 50 Missions xP
|
In response to Revolution Gohan
|
|
One option would be using a list.
|
In response to Mega fart cannon
|
|
sorry i forgot i shuld a list, il make you another better one if you want..
|
In response to Agrey123
|
|
if u want np ^^ :)
|
In response to Revolution Gohan
|
|
I dont know if its this what you need.
var/list/missions = list("Battle Raditz","Battle Saibamen") |
In response to Gohan Games
|
|
Gohan Games wrote:
I dont know if its this what you need. That is what YOU need.. but I was just thinking about using Datums.. I am not saying you cant do it this way but another way would be Datums. And yes the post above with code was really not preferable. Lesson : Coders should satisfy their desires in a short and sweet manner. This will help in making a game lag free. well this could be a better way than introducing a Load of variables. var/Mission_list=list("Enemy1","2"....) //define all missions This was just a rough sketch.. but would recommend you to read everything in DM Guide Reference and the Skin Reference before asking anything in the forums. Read First then ask because most of the Questions are directly or indirectly answered. Thanks to the BYOND Developers.Please value their work! |