EncroachingOn

Discussions about Coding and Scripting

EncroachingOn

Postby Barbie » Sun Jun 17, 2018 2:32 am

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
Barbie
Godlike
 
Posts: 1620
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: EncroachingOn

Postby sektor2111 » Sun Jun 17, 2018 7:54 am

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.
User avatar
sektor2111
Godlike
 
Posts: 3824
Joined: Sun May 09, 2010 6:15 pm
Location: On the roof.


Return to Coding, Scripting

Who is online

Users browsing this forum: No registered users and 2 guests