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

Showing results 1 to 7 of 7
Search took 0.00 seconds.
Search: Posts Made By: thezolotoi
Forum: Scripting Help 08-20-2021, 08:20
Replies: 1
Views: 700
Posted By thezolotoi
Re: A problem with pev_angles and pev_v_angle

In this variable aDataCamers[CAMERA_ID] = g_iGrabEntityId;
Forum: Scripting Help 08-20-2021, 08:18
Replies: 1
Views: 700
Posted By thezolotoi
A problem with pev_angles and pev_v_angle

I have a code to change the side the entity is looking at

new iOrigin[3], Float:vecOrigin[3];
get_user_origin(pPlayer, iOrigin, Origin_AimEndEyes);
IVecFVec(iOrigin, vecOrigin);...
Forum: Scripting Help 04-19-2021, 03:40
Replies: 10
Views: 1,635
Posted By thezolotoi
Re: How can I make NPCs avoid obstacles ?

Hello, how can I get my npc to use this include for moving? Tried to understand the example, but could not.
Checking the forum, I found a function so that the entity could jump over small obstacles,...
Forum: Scripting Help 04-17-2021, 08:39
Replies: 2
Views: 505
Posted By thezolotoi
Help convert from engine to fakemete

Hi, help me pls)
My code:

//
Plugin init:
register_touch("worldspawn", "ent_creeper", "touch_wall");
register_touch("func_brush", "ent_creeper", "touch_wall");
...
Forum: Scripting Help 04-17-2021, 05:47
Replies: 10
Views: 1,635
Posted By thezolotoi
Forum: Scripting Help 04-17-2021, 02:49
Replies: 10
Views: 1,635
Posted By thezolotoi
How can I make NPCs avoid obstacles ?

Hi I have a very stupid npc entity that can only follow the player, but for example he cannot climb stairs or avoid obstacles. How can I teach him this?

Create NPC

new iEntity =...
Forum: Scripting Help 04-16-2021, 16:14
Replies: 2
Views: 527
Posted By thezolotoi
Random player inside the sphere

Hello, help me to choose a random player who is inside the sphere.
I create a sphere like this:

new iVictim = 0;
while((iVictim = engfunc(EngFunc_FindEntityInSphere, origin1, origin2, 400.0)))...
Showing results 1 to 7 of 7

 
Forum Jump

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


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