Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Target scoring system
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Target scoring system (Read 432 times)
0 Members and 1 Guest are viewing this topic.
TH
Guest
Target scoring system
«
on:
10 Jun 2004, 17:49:24 »
Does anyone have or know how to make a script that will score if the player knocks down a target? Also is it possible to make the targets move? And a respawn question, how do you make a player respawn only a certain amount of times.
Logged
Homefry31464
Guest
Re:Target scoring system
«
Reply #1 on:
10 Jun 2004, 20:26:29 »
A target, I take it you do not mean an enemy soldier. I'm not sure about syntax on this:
In a trigger's condition field:
?getdammage targetname != 0
In a trigger activation field:
player addrating 100
Again, I'm not totally sure if that will work or not. As for your other question, respawning is not possible in SP. For MP, check this thread out:
http://www.ofpec.com/yabbse/index.php?board=7;action=display;threadid=91
«
Last Edit: 10 Jun 2004, 20:27:50 by Homefry
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Target scoring system
Top of page