Some Scripting Questions

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
User avatar
Firefang
Major
Major
Posts: 518
Joined: Mon Nov 15, 2010 8:55 pm
Location: California

Some Scripting Questions

Post by Firefang »

I am using the Kill/Respawn teleport method in my map and I have two questions about it.

1. Is there a way to add only one point when the player dies? I know about the AddAssaultDestroyPoints(player) line but that adds too many.
2. Is there a way to preserve ammo and/or health when the character is killed so when he is respawned he has the same health and ammo?
Post Reply