AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Need some origin help (https://forums.alliedmods.net/showthread.php?t=132112)

drekes 07-12-2010 00:55

Need some origin help
 
Hi

I'm playing around with entitys and i have some troubles with origins.

I need to know how i can see if i reached the top of the map. So i have an origin, and i want to increase origin[2] until i reach the top of the map.

And is it possible to make a entity go from one point to another, but not like a teleport, like it's falling from the sky, but not straight down.

Could someone make an example how i could do this?

GXLZPGX 07-12-2010 09:44

Re: Need some origin help
 
Quote:

Originally Posted by drekes (Post 1236309)
Hi

I'm playing around with entitys and i have some troubles with origins.

I need to know how i can see if i reached the top of the map. So i have an origin, and i want to increase origin[2] until i reach the top of the map.

And is it possible to make a entity go from one point to another, but not like a teleport, like it's falling from the sky, but not straight down.

Could someone make an example how i could do this?

Bah, just chucking stones, but couldn't you throw an entity in one certain direction and set the gravity of the entity?

drekes 07-12-2010 12:32

Re: Need some origin help
 
yeah, but i have to set the right origin first


All times are GMT -4. The time now is 07:09.

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