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
) »
Need some help please
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Need some help please (Read 437 times)
0 Members and 1 Guest are viewing this topic.
Dingmatt
Guest
Need some help please
«
on:
26 Dec 2004, 15:45:10 »
I need to try and make a script where a heli respawns every time its killed with the same name "heli1". i can't figure it out, is it even possible?
Dingmatt
Logged
C0LDSt33L
Members
Member of the SotM Team
Re:Need some help please
«
Reply #1 on:
26 Dec 2004, 19:32:45 »
#Loop
~0.1
?(getdammage heli1 > 0.9): goto "respawn"
goto "Loop"
#Respawn
heli setpos [x,y,z]
heli setdammage 0
goto "Loop"
...may get you started.
Logged
Dingmatt
Guest
Re:Need some help please
«
Reply #2 on:
27 Dec 2004, 14:31:47 »
i never thought of that, thanks that will help alot
Dingmatt
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
) »
Need some help please
Top of page