View Single Post
striker07
Veteran Member
Join Date: Mar 2012
Location: Solar System/Earth/Belgium
Old 03-14-2012 , 11:06   Re: [HOWTO] Spawn Sprites
Reply With Quote #8

Ah nice it certainly works but

for the lightning:
i want it to come out of the air, so that the height of the sprite dont matter becous now when players die (very low in the map) the lightning starts coming out of the air about one meter above the player heads and stops at his waste.

for the explosion:
it starts and his waste when it should start at the floor.

- for the lightning:
Can I fix this by making he sprite's height very big and keep the width or is there a way to code it so that the sprite automaticly gets streched when it spawns and starts from to top point of the map?

- for the explosion:
im gonna change the z cordinate for the sprite to write_coord(origin[2]); (without the +=30) and see what that gives

EDIT:

ok after alot of testing I now have this but i cant get it compiled becous of some errors
Spoiler

Errors:

Code:
Error: Undefined symbol "entity_get_vector" on line 421
Error: Undefined symbol "EV_VEC_origin" on line 421
Warning: Expression has no effect on line 421
Error: Expected token: ";", but found ")" on line 421
Error: Too many error messages on one line on line 421

Last edited by striker07; 03-14-2012 at 13:17.
striker07 is offline