[HELP] My created entity wont go.....remove doesnt work...pls help!
https://pastebin.com/RB87V31E
hi there....hope u can help me cause i am going nuts... @line100 i added a touch for the entity....it shall detect when the entity hits a player. IF so the player should be stunned.....the entity should dissapear and i want to spawn a explosion there. explosion and stuff aint atm.... i am a bit confused with the touched and the toucher.....tried to identify them with client prints... thing is when i reactive line 127 the game crashes 2 seconds after the touch........ i added a ISValid and the entity name........then it doesnt crash anymore but the entity wont dissapear... can someone pls help here? why wont that stupid entity be gone? and if someone can help with a stun that would be awesome aswell..... appreciate the help. |
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
PHP Code:
PHP Code:
PHP Code:
|
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
thx and yeah that would solve problem number 3^^ i can add a pev sequence for that.
but what about the stun? what about the entity that wont dissapear when i tell her to? the flying entitys are mafubaentity and mafubaentityphase2 when mafuba entity touches a player....that one should freeze. and then there should spawn the mafubaentityphase2 and that should go where i aim.....and when that hits the ground near a mafuba_jar entity something should happen.... i know its sure a bit complex if you dont get the background. https://youtu.be/T7spJPq5DiY?t=175 that video should help. mafuba jar is the little bottle. you can spawn that via rightclick. works perfectly. even can get destroyed. mafubaentity is the first beam that goes to a enemy.then the enemy should be stunned. some effects and stuff....then mafubaentityphase2 should spawn. entity1 is gone till that. and you aim phase2 entity to the bottle(mafuba jar). camera of the victim should be forced onto that entity..... if anyone could help that would be awesome..cause that project really gotten to big.....but i want it to be done....for me...and for the community. |
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
Last time i've seen people using @ before function name. Any meaning?
|
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
can i get some usefull replies pls?:D
and no it doesnt have any meaning... |
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
Quote:
Anyway, I am not sure if "capsule_jar" or "mafuba" is the one you want to remove. Also PHP Code:
|
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
sorry^^ wasnt meant to offend anyone. thats why i placed the smiley;)
and it only aimed for the question about the @^^ i wanna remove mafuba. in line 128 of my code. and i would need to identify the one being hit to stun him. i tried to clientprint ptr and ptd....but its quite confusion i tried the line 130 till 140 with ptr and ptd.....both times it didnt dissapear. so ptr would be normally correct and ptd would be the victim i wanna stun right? |
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
Quote:
PHP Code:
PHP Code:
|
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
o.O ok gonna try that
thx buddy!. gonna tell you later if it worked in case that works.... i would need that the second entity...its name gonna be mafubaphase2 will detect if its hits the ground/wall or if it hits the ground/wall near 10meters of the entity mafuba_jar so these two cases..... can u help here aswell? sorry to bother..... but i am on this since weeks....and not as experienced as i should be>_> you are already on my credit list;) |
Re: [HELP] My created entity wont go.....remove doesnt work...pls help!
Quote:
OP : Instead of removing the entitiy instantly give it a the flag FL_KILLME No need to set task. |
All times are GMT -4. The time now is 10:08. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.