Announcement

Collapse
No announcement yet.

variable for a function

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

  • replied
    thanks

    Leave a comment:


  • replied
    Make the variable type a class. var class<Actor> MyClass; or put whatever limiter type in the angle brackets. You can limit it to Pawn or Controller or whatever (subclasses are accepted as well). Then assign your variable a class type, and use it in your iterator.

    Leave a comment:


  • started a topic variable for a function

    variable for a function

    H there,
    i want to be able to search for a few different actors with the same function how do i go about replacing the 'class'whatever'' bit with a variable that i can change to whatever type i need to search for.

    foreach VisibleCollidingActors (????????, whatifound,5000).

    thanks.
Working...
X