EncroachingOn

Discussions about Coding and Scripting
Post Reply
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

EncroachingOn

Post by Barbie »

Can anybody tell me the sense of the following code?

Code: Select all

event bool EncroachingOn( actor Other )
{
	if ( (Other.Brush != None) || (Brush(Other) != None) )
		return true;
		
	return false;
}
It is taken from Queen's code and causes that Queen telefragging party on SpawnPoints.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
sektor2111
Godlike
Posts: 6403
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.

Re: EncroachingOn

Post by sektor2111 »

Queen will crush player in range as the rest of pawns, other Queens included but here probably are killed directly in "state teleporting" skipping kill instances and NOT DOING events resulting in broken counters and all that stuff that has to be triggered by these "awesome" monsters.
Post Reply