Posted By: Martek
Kurze Pointer Frage - 10/06/07 17:33
Hi,
ich habe in einer function einen you-pointer. Das ist der getroffene Gegner.
Danach kommt aber nochmal eine c_Trace anweisung. Dadurch wird ja ein neuer you-pointer gesetzt. Wie könnte ich den alten you-pointer speichern, so das ich ihm nach dem 2. c_trace tortzdem noch leben abziehen kann??? Oder geht das garnicht???
I've in a function a you-pointer. The you is the hit enemy. After that comes a second trace, so there is a new you-pointer. How can I use the first you-pointer, the hit enemy, after the second trace???
Mfg, Pingulord
ich habe in einer function einen you-pointer. Das ist der getroffene Gegner.
Danach kommt aber nochmal eine c_Trace anweisung. Dadurch wird ja ein neuer you-pointer gesetzt. Wie könnte ich den alten you-pointer speichern, so das ich ihm nach dem 2. c_trace tortzdem noch leben abziehen kann??? Oder geht das garnicht???
I've in a function a you-pointer. The you is the hit enemy. After that comes a second trace, so there is a new you-pointer. How can I use the first you-pointer, the hit enemy, after the second trace???
Mfg, Pingulord