Category: Objects
/ Commands
Since engine version: 5.1 OC
base_mode | Name | Description | Failure messages and CallFailed calls | Next command |
---|---|---|---|---|
0 | C4CMD_SilentSub | Silent command | Only if this is the last command | Fails |
3 | C4CMD_Sub | Command | If the next command has no retries left or this is the last command. | Fails |
2 | C4CMD_SilentBase | Silent base command | Never | Does not fail |
1 | C4CMD_Base | Base command | Always | Does not fail |
var obj = FindObject(Find_Rect(-20, -40, 40, 40), Find_OCF(OCF_CrewMember)); if(obj) if(obj->GetComDir() == COMD_Right) obj->AddCommand("Jump"); return;