UnrealScripterAI
Discord ↗
Link Copied to Clipboard
×
"curtain control actions"
// Called when the curtain is opened void ACurtain::Open() { // Move the curtain to the open position SetActorLocation(OpenPosition); } // Called when the curtain is closed void ACurtain::Close() { // Move the curtain to the closed position SetActorLocation(ClosedPosition); }