Advertisement
Guest User

blueprinted class, get set or call crashes editor

a guest
Jun 26th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. void AAnimationTestCharacter::Fire()
  2. {
  3.     /* OPTION ONE - FOR LOOP - This is much faster way (to write)*/
  4.     for (int i = 0; i < WeaponsArray.Num(); i++) {
  5.         UE_LOG(LogTemp, Log, TEXT("SHOOTING"));
  6.  
  7.         WeaponsArray[i]->SetIsFiring(true); //<-- Here error occurs
  8.     }
  9.  
  10.     AAnimationTestCharacter::PlayShootAnimation();
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement