well .... im trying to code new source( everybody does now ,so im trying ... ) .
coded Npc Item Monster client map
each is a class has no relation to another
the question is ... how can i put those as an Object for Map class
no code needed . just hint what should i do .
well .... im trying to code new source( everybody does now ,so im trying ... ) .
coded Npc Item Monster client map
each is a class has no relation to another
the question is ... how can i put those as an Object for Map class
no code needed . just hint what should i do .
Well All i understood from This is :-
You Coded Npc , Items , Monster , Client , Map as Ceparate Classes that arent connected to each other and you asking How to connect them with each other so u can use em .. Here You Are
In Client Class you can make Smthing like that
Code:
Npc NewInstance;
This would Allow you to use the Npc Class inside Client One And Dont forget to set NewInstance to New Npc(); once u would like to use it
You Coded Npc , Items , Monster , Client , Map as Ceparate Classes that arent connected to each other and you asking How to connect them with each other so u can use em .. Here You Are
In Client Class you can make Smthing like that
Code:
Npc NewInstance;
This would Allow you to use the Npc Class inside Client One And Dont forget to set NewInstance to New Npc(); once u would like to use it
Not when he wants to use it, but when his class is initialized, hence why constructors exist.
Greetings , thanks for all who replyed ...
exactly like Korvacs explained .
how to store (npc , mob , client , flooritem) as objects on map .
incase if i want to count all objects on map (for example ) i count all as map_object Not as npc + mob + ...........
i think i found the answer ........ which is :
make class object and inherit from it for all (player, mob , npc ... )
if that is it ... then
#request close ...
Greetings , thanks for all who replyed ...
exactly like Korvacs explained .
how to store (npc , mob , client , flooritem) as objects on map .
incase if i want to count all objects on map (for example ) i count all as map_object Not as npc + mob + ...........
i think i found the answer ........ which is :
make class object and inherit from it for all (player, mob , npc ... )
if that is it ... then
#request close ...
Hmm Inherting 4 Classes ?? Y So you could set Instances from their Classes then use em Insted of Inherting ...idk which is better but thats what came into my mind anyways GL Dude
Intervention Fail | Quickscope Fail | Lobby Fail 08/11/2011 - Call of Duty - 16 Replies Hallo Leute,
Zuerst zum Intervention Fail:
ich habe seit einiger Zeit in MW2 das Problem, dass ich nurnoch Hitmaker bekomme. Ich benutze eine Intervention mit Vollmantelgeschoss und Feuerkraft(Pro) Egal ich ich stundenlang ziele, oder einen Quickscope mache, ich bekomme einfach nur einen Hitmaker.
Eines meiner neusten Probleme ist, dass die Intervention garnicht mehr trifft. Egal ob Quickscope oder Hardscope, der Schuss geht daneben. In 70% der Fälle. selbst wenn ich genau vor dem...