Lua script for deny capturing command posts

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

Post Reply
RacoonLR
Second Lance Corporal
Second Lance Corporal
Posts: 105
Joined: Fri Apr 25, 2014 5:31 pm
xbox live or psn: No gamertag set
Location: UNDER YOUR BED

Lua script for deny capturing command posts

Post by RacoonLR »

Is there any lua script for deny capturing command Posts?
I Need this script for a custome era (mode) on naboo =)
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Lua script for deny capturing command posts

Post by Noobasaurus »

Find the name of the command post, for example CP1. Then do this:

Code: Select all

  SetProperty("CP1", "CaptureRegion", "")
for each one of the command posts. Change CP1 to whatever it is called. You can use ZE to look in Naboo to find the names of the command posts.
Post Reply