regions

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
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

regions

Post by woner11 »

Is it possible for a region to work or stop working after a certain period of time? Like a damage region for instance. Thanks in advance. :yes:
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: regions

Post by Maveritchell »

There's a "RemoveRegion" .lua callback. You can always set up a timer in the .lua and on the end of the timer trigger "RemoveRegion." The only caveat is that I'm not sure if/how exactly RemoveRegion works.
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: regions

Post by [RDH]Zerted »

Have you tired disabling it after the timer ends?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: regions

Post by Maveritchell »

I haven't tried using it at all, timer or no timer. I would assume that it would work on a timer end if it would work at all.
Post Reply