In my map it looks like I've got no choice but to add in a damage region via LUA script. I just have one question:
Damage Regions
Name Prefix : damage
Parameters : key=value, key matched to minimum number of characters
damagerate=<float>
Damage per second applied to objects that enter the region
personscale=<float>
Scales the damage if the object in the region is a person
animalscale=<float>
Scales the damage if the object in the region is an animal
droidscale=<float>
Scales the damage if the object in the region is a droid
vehiclescale=<float>
Scales the damage if the object in the region is a vehicle
buildingscale=<float>
Scales the damage if the object in the region is a building
buildingdeadscale=<float>
Scales the damage if the object in the region is a dead building
buildingunbuiltscale=<float>
Scales the damage if the object in the region is an undamaged building
I dont understand what exactly is the bolded text is asking for.
Damage Regions
Moderator: Moderators
-
xwingguy
-
MercuryNoodles
- Jedi

- Posts: 1003
- Joined: Sun Mar 12, 2006 7:16 pm
- Projects :: Space - Boarding Action
- xbox live or psn: No gamertag set
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
-
xwingguy
-
Tuskenjedi
are they affected by ActivateRegion("")?
oh and this is some stuff from DS that might help, just maybe, not sure
function TrashStuff()
trash_open = 1
trash_closed = 0
trash_timer = CreateTimer("trash_timer")
SetTimerValue(trash_timer, 7)
StartTimer(trash_timer)
trash_death = OnTimerElapse(
function(timer)
if trash_open == 1 then
AddDeathRegion("deathregion")
SetTimerValue(trash_timer, 5)
StartTimer(trash_timer)
trash_closed = 1
trash_open = 0
print("death region added")
oh and this is some stuff from DS that might help, just maybe, not sure
function TrashStuff()
trash_open = 1
trash_closed = 0
trash_timer = CreateTimer("trash_timer")
SetTimerValue(trash_timer, 7)
StartTimer(trash_timer)
trash_death = OnTimerElapse(
function(timer)
if trash_open == 1 then
AddDeathRegion("deathregion")
SetTimerValue(trash_timer, 5)
StartTimer(trash_timer)
trash_closed = 1
trash_open = 0
print("death region added")
