Raised This Month: $12 Target: $400
 3% 

[ H3LP ] Make Ent unsolid then solid


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DarthMan
Veteran Member
Join Date: Aug 2011
Old 10-12-2017 , 14:33   [ H3LP ] Make Ent unsolid then solid
Reply With Quote #1

Hello. Is there any way I can make an entity SOLID_NOT and then after done moving it make it back SOLID_BBOX ?
DarthMan is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 10-12-2017 , 14:37   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #2

PHP Code:
entity_set_int(entity EV_INT_solidSOLID_BBOX)
entity_set_int(entity EV_INT_solidSOLID_NOT
and what do you mean by moving it? in basebuilder?
__________________
retired chump

Last edited by DjSoftero; 10-12-2017 at 14:38.
DjSoftero is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 10-12-2017 , 14:37   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #3

Just use entity_set_origin after restoring solid.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
DarthMan
Veteran Member
Join Date: Aug 2011
Old 10-12-2017 , 14:47   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #4

Quote:
Originally Posted by PRoSToTeM@ View Post
Just use entity_set_origin after restoring solid.
Can you show me exactly?

Last edited by DarthMan; 10-12-2017 at 15:33.
DarthMan is offline
PRoSToTeM@
Veteran Member
Join Date: Jan 2010
Location: Russia, Ivanovo
Old 10-12-2017 , 15:17   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #5

Use RelinkEntity from here https://forums.alliedmods.net/showpo...5&postcount=18.
__________________
PRoSToTeM@ is offline
Send a message via ICQ to PRoSToTeM@ Send a message via Skype™ to PRoSToTeM@
DarthMan
Veteran Member
Join Date: Aug 2011
Old 10-12-2017 , 15:26   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #6

Quote:
Originally Posted by PRoSToTeM@ View Post
Omg, it was pretty simple. RelinkEntity helped me, ty a lot.
DarthMan is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 10-12-2017 , 15:45   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #7

Quote:
Originally Posted by PRoSToTeM@ View Post
Another thing, why can't I move SOLID_TRIGGER entities if they're not on ground ?
DarthMan is offline
KiLLeR.
Senior Member
Join Date: Jul 2014
Location: Bulgaria
Old 10-12-2017 , 16:13   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #8

What do you mean by move?! Because, if you only setting another origins, it doesn't matter what solidness is the entity
KiLLeR. is offline
DarthMan
Veteran Member
Join Date: Aug 2011
Old 10-12-2017 , 16:21   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #9

Quote:
Originally Posted by KiLLeR. View Post
What do you mean by move?! Because, if you only setting another origins, it doesn't matter what solidness is the entity
I mean move with the player, by aiming distance 500.
If you remember EntMod by Drunken F00l, you know what I mean.

Last edited by DarthMan; 10-12-2017 at 16:25.
DarthMan is offline
KiLLeR.
Senior Member
Join Date: Jul 2014
Location: Bulgaria
Old 10-12-2017 , 17:35   Re: [ H3LP ] Make Ent unsolid then solid
Reply With Quote #10

No i don't know what you mean... Maybe show your code.
KiLLeR. is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode