Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ "Feature" ] Touching wall check #1189

Open
Nairdaa opened this issue May 21, 2023 · 2 comments
Open

[ "Feature" ] Touching wall check #1189

Nairdaa opened this issue May 21, 2023 · 2 comments

Comments

@Nairdaa
Copy link
Contributor

Nairdaa commented May 21, 2023

Please add that to the API.

"istouchingwall", just like on scroll "isonground".

eg:

public Action OnTouch(int client, int entity)
{
	if ((GetEntProp(entity, Prop_Data, "m_usSolidFlags") & 12) == 0)
	{
		g_bTouchesWall[client] = true;
	}
}
@rtldg
Copy link
Collaborator

rtldg commented May 22, 2023

What would this be used for?

@Nairdaa
Copy link
Contributor Author

Nairdaa commented May 28, 2023

to check if a player is touching the wall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants