mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-22 22:45:43 +00:00
prio
This commit is contained in:
parent
f035a2badd
commit
edb0004fd8
@ -129,6 +129,7 @@ Executer( eObj )
|
|||||||
self WatchForCancelCleanup();
|
self WatchForCancelCleanup();
|
||||||
self ClearScriptAimPos();
|
self ClearScriptAimPos();
|
||||||
self ClearScriptGoal();
|
self ClearScriptGoal();
|
||||||
|
self ClearPriorityObjective();
|
||||||
self CompletedObjective( eObj.bWasSuccessful, eObj.sReason );
|
self CompletedObjective( eObj.bWasSuccessful, eObj.sReason );
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -184,6 +185,13 @@ GoDoWallweapon( eObj )
|
|||||||
model = getEnt( weapon.target, "targetname" );
|
model = getEnt( weapon.target, "targetname" );
|
||||||
org = self getOffset( model, weapon );
|
org = self getOffset( model, weapon );
|
||||||
|
|
||||||
|
weap = self GetCurrentWeapon();
|
||||||
|
|
||||||
|
if ( weap == "none" || !self getAmmoCount( weap ) )
|
||||||
|
{
|
||||||
|
self SetPriorityObjective();
|
||||||
|
}
|
||||||
|
|
||||||
// go to weapon
|
// go to weapon
|
||||||
self thread WatchToGoToWeapon( weapon );
|
self thread WatchToGoToWeapon( weapon );
|
||||||
self SetScriptGoal( org, 32 );
|
self SetScriptGoal( org, 32 );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user