Removing Regions Other Than Death/Landing

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
xwingguy

Removing Regions Other Than Death/Landing

Post by xwingguy »

What I need to do is to have a damage region in my map but not have it present at the very begginning of the game. RemoveRegion() doesn't work so what can I use?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Removing Regions Other Than Death/Landing

Post by Teancum »

Use DeactivateRegion("regionName")

Off-Topic -- this verb is really useful in creating XL mode really fast. You simply use the Conquest layer (which keeps all CP's and vehicles) then use DeactivateRegion() to get rid of each capture region.
xwingguy

RE: Removing Regions Other Than Death/Landing

Post by xwingguy »

It doesn't work for me, unfortunately.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

RE: Removing Regions Other Than Death/Landing

Post by [RDH]Zerted »

You need to include both of the "
xwingguy

Post by xwingguy »

Code: Select all

	DeactivateRegion("all1-deadlife")
        DeactivateRegion("imp1-deadlife")
Looks right to me and I know that I spelled the regions correctly.
Post Reply