AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   WalkMove doubt (https://forums.alliedmods.net/showthread.php?t=164068)

fearAR 08-06-2011 23:09

WalkMove doubt
 
Hi, I was seeing hlsdk inc and I saw this:

PHP Code:

// engfunc(EngFunc_WalkMove, entity, Float:yaw, Float:dist, iMode) iMode values
#define    WALKMOVE_NORMAL                 0           // Normal walkmove
#define WALKMOVE_WORLDONLY              1           // Doesn't hit ANY entities, no matter what the solid type
#define WALKMOVE_CHECKONLY              2           // Move, but don't touch triggers 

I am trying to make a little car managed by remote control, and I need It move like Player movement, and I think this WalkMove is a possible solution.

Can someone explain me it or give an example for use it correctly.

Thanks and greetings.


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

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