Discussions about Coding and Scripting


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
Posts: 1656
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
Posts: 3967
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 1 guest