MCPcopy Create free account
hub / github.com/DruidMech/MultiplayerCourseBlasterGame / Dropped

Method Dropped

Source/Blaster/Weapon/Flag.cpp:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20void AFlag::Dropped()
21{
22 SetWeaponState(EWeaponState::EWS_Dropped);
23 FDetachmentTransformRules DetachRules(EDetachmentRule::KeepWorld, true);
24 FlagMesh->DetachFromComponent(DetachRules);
25 SetOwner(nullptr);
26 BlasterOwnerCharacter = nullptr;
27 BlasterOwnerController = nullptr;
28}
29
30void AFlag::ResetFlag()
31{

Callers 3

DropEquippedWeaponMethod · 0.45
DropOrDestroyWeaponMethod · 0.45
DropOrDestroyWeaponsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected