This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem the name of the script is drive path name of the Parameter %0 | |
rem (= the batch file) but with the extension ".ps1" | |
set PSScript=%~dpn0.ps1 | |
set args=%1 | |
:More | |
shift | |
if '%1'=='' goto Done | |
set args=%args%, %1 | |
goto More |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto unit = GetGame().GetWorld().FindEntityByName("bob"); | |
CharacterControllerComponent.Cast(unit.FindComponent(CharacterControllerComponent)).SetUnconscious(true); |
OlderNewer