Difference between revisions of "IsSummon"
Jump to navigation
Jump to search
m
no edit summary
imported>Kyoma (Initial creation with two different methodes. The second one may be better off being removed because of the many disadvantages.) |
imported>Kyoma m |
||
Line 24: | Line 24: | ||
Check if the calling reference is a summoned actor or not(in this case an actor that is stored in the '''someActorRef''' variable). | Check if the calling reference is a summoned actor or not(in this case an actor that is stored in the '''someActorRef''' variable). | ||
Let bIsSummon := someActorRef.Call IsSummon | Let bIsSummon := someActorRef.Call IsSummon | ||
Or using Eval inside an if-statement | |||
if Eval someActorRef.Call IsSummon | |||
;It's a summon | |||
endif | |||
==Code== | ==Code== | ||
Line 161: | Line 165: | ||
* [[GetNumSummons]] | * [[GetNumSummons]] | ||
* [[GetNthSummon]] | * [[GetNthSummon]] | ||
* [[GetSummons]] | |||
* [[GetSummoner]] | |||
[[Category: User Functions]] | [[Category: User Functions]] | ||