Announcement

Collapse
No announcement yet.

native functions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    native functions

    Why do some native functions not have a number associated with them? For example:

    Actor.uc
    Code:
    
    native(283) final function bool SetCollisionSize( float NewRadius, float NewHeight );
    native final function SetDrawScale(float NewScale);
    
    Just curious...

    #2
    I believe the native number is only used either for stuff that needs to be very low overhead (called through a lookup table), or it's just ignored entirely by the compiler.

    Comment


      #3
      the number is indeed used for a lookup table, otherwise the function has to be found by searching for a function with that name.

      Comment

      Working...
      X