Saving bullet positions?
#10

Quote:
Originally Posted by Dokins
Посмотреть сообщение
Thank you, Patrick, I really appreciate the comment + time it took to add that.

I understand that, but won't each bullet over-write the last one? Saving only one location in the end?
"I'm just looking for the location to be saved, the co-ords. I plan to add a text label saying 'BULLET' to each one"
Create3DTextLabel every time OnPlayerWeaponShot is called, if weapon is one with bullets (not RPG, flame thrower, teargas) that should make a label at every bullet I guess.

EDIT: To delete it, you'd need to make a new variable:
pawn Код:
new Text3D:BLabel;
But you'd need to add something like MAX_BULLETS to it, the bullets should have their ID, I think it can be done with a define of MAX_BULLETS or a variable BulletID, but I'm not sure how to do it so I won't post wrong info.
Reply


Messages In This Thread
Saving bullet positions? - by Dokins - 04.04.2014, 06:36
Re: Saving bullet positions? - by SickAttack - 04.04.2014, 06:44
Re: Saving bullet positions? - by Dokins - 04.04.2014, 06:58
Re: Saving bullet positions? - by SickAttack - 04.04.2014, 07:07
Re: Saving bullet positions? - by LocMax - 04.04.2014, 07:12
Re: Saving bullet positions? - by Dokins - 04.04.2014, 07:16
Re: Saving bullet positions? - by Patrick - 04.04.2014, 07:17
Re: Saving bullet positions? - by Dokins - 04.04.2014, 07:20
Re: Saving bullet positions? - by Patrick - 04.04.2014, 07:22
Re: Saving bullet positions? - by LocMax - 04.04.2014, 07:22

Forum Jump:


Users browsing this thread: 3 Guest(s)