Jump to content
GayBush

Cloaker Counter

Recommended Posts

GayBush

this is a little code that i found on a old hard drive and thought i might as well put it here since no new stuff has even been released here in a while hope you enjoy:
Code:
if PlayerMovement then
function PlayerMovement:on_SPOOCed(enemy_unit)
return "countered"
end
end

if TeamAIMovement then
function TeamAIMovement:on_SPOOCed(enemy_unit)
return "countered"
end
end

Put this bit in the PD2Hook.yml file:
- [lib/units/beings/player/PlayerMovement, LUA\cloakersarrest.lua]
- [lib/units/player_team/teamaimovement, LUA\cloakersarrest.lua]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Stop being a peeping tom and join the community.... we got cookies

Join the crew now

Sign in

Already part of the crew? Board right here

Sign In Now

×