On destroy, capture

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

User avatar
Lorul1
Rebel Colonel
Rebel Colonel
Posts: 562
Joined: Wed Apr 24, 2013 10:34 pm
Projects :: Assault on Theed
Games I'm Playing :: Battlegrounds
xbox live or psn: No gamertag set
Location: Your House

Re: On destroy, capture

Post by Lorul1 »

I entered this [after ScriptPostLoad() like before of corse]

Moe = OnObjectKill(
function(object, killer)
if GetEntityName(object) == "myg1_bldg_energy_collector_core" then
MissionVictory(ATT)
end
end
)



and my script dosent work ingame can someone get it working in there game or correct my script above please
Post Reply