Right,im clueless on this.
The game im working on uses obj's to store techniques,I need a verb that allows the player to create their own,and specify the name and type(eg.beam,power up,etc.)
Any ideas?
ID:267560
Jun 29 2003, 3:59 am
|
|
Jun 29 2003, 4:22 am
|
|
Look up in the reference...verb. That'll help you get started =p Simply put, you aren't even trying to put in any effort, so why should someone else try to help your game if you aren't as or more willing?
|
In response to Goku72
|
|
Im not sure you understand what i mean,in that case,excuse me,ill explain it further.
The player gets a verb called "Create technique",when he presses this he gets a pop up asking for the type he wants to create,eg.beam. He then names it,sets a power(which affects charge time and damage). The code for the selection part is easy,its the part about naming and setting properties which i dont get. The code i currently have is:- mob/verb/Create_Technique() set category = "Techniques" input(switch("What type of technique do you want to create?","Type") in list("Beam","Blast","Powerup","Exit")) if("Beam") //From here on im lost,i guess i need to create some kind of base objects and modify their values,but im kinda lost,ive never tried anything like this. Please,any help would be appreciated. -Mystic |
In response to SSj2-Mystic
|
|
SSj2-Mystic wrote:
Im not sure you understand what i mean,in that case,excuse me,ill explain it further. You can do this a much easier way.. Create(O as null|anything in typesof(/obj,/mob)) This already lists anything in typesof /obj, /mob as said above.. -Camaro- ps; i don't understand the name thing either ^.^ |