AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   How to set ents size? (https://forums.alliedmods.net/showthread.php?t=217474)

~Ice*shOt 06-03-2013 06:58

How to set ents size?
 
I need a help with setting ent size (mins and maxs). My entity's legs is always underground.
Here's what I use.

PHP Code:

 entity_set_size(EntFloat: {-16.0, -16.0, -28.0}, Float: {16.016.028.0

P.S maybe there is plugin or something what could help to set size?

TheDS1337 06-03-2013 07:33

Re: How to set ents size?
 
I think you need to change Origin of it too

~Ice*shOt 06-03-2013 08:11

Re: How to set ents size?
 
I think that all with origin is okay.

AngeIII 06-03-2013 12:38

Re: How to set ents size?
 
just set Z coordinate +~20

origin[2]=origin[2]+20;


entity size doesn't "move" the entity


All times are GMT -4. The time now is 16:23.

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