Advertisement
Guest User

Untitled

a guest
May 24th, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. void AButtGameCharacter::PostInitializeComponents() {
  2.     Super::PostInitializeComponents();
  3.  
  4.     UE_LOG(LogTemp, Warning, TEXT("Character Post Initialize Components"));
  5.  
  6.     //let's make a sword bitcheszz
  7.     FActorSpawnParameters SpawnInfo;
  8.     SpawnInfo.bNoCollisionFail = true;
  9.     AEquipableWeaponLongSword* weapon = GetWorld()->SpawnActor<AEquipableWeaponLongSword>(AEquipableWeaponLongSword::StaticClass(), SpawnInfo);
  10.     equipPrimary(weapon);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement