Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void AButtGameCharacter::PostInitializeComponents() {
- Super::PostInitializeComponents();
- UE_LOG(LogTemp, Warning, TEXT("Character Post Initialize Components"));
- //let's make a sword bitcheszz
- FActorSpawnParameters SpawnInfo;
- SpawnInfo.bNoCollisionFail = true;
- AEquipableWeaponLongSword* weapon = GetWorld()->SpawnActor<AEquipableWeaponLongSword>(AEquipableWeaponLongSword::StaticClass(), SpawnInfo);
- equipPrimary(weapon);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement