Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: HotSnoJ on January 30, 2003, 04:34:56 am
-
I'm making a mission and I'd like to make a GTI Arcadia self destruct when its hit points reach 3%.
$Formula: ( when
( > ( hits-left "CRB Amun 1" ) 3 )
( do-nothing )
)
Thats the formula i'm using. Is it what I'm suppose to use to get what I want?
-
You`re making that event trigger whenever the hitpoints on the base are more than 3% This is almost certainly when the mission starts so you`re having problems.
Try using the less than SEXP instead.
Oh and although I`m sure you did put it in the mission itself you might want to actually include some sort of event to actually destruct the base rather than a do nothing :D
-
Oh so thats what I'm doing wrong, I got the signs mixed up.
Anyway the event that is happening is the Arcadia is being attacked and the reactors are breached.
-
try this, it works in Fred2, i havent used fred1 for so long so don't qoute me on this.
+-event name
|
|__when
| |
| |__<
| |
| |___Hits-left
| | |
| | |__Arcadia
| |
| |___3
|
|_________Selfdestruct
|
|___Arcadia
That should work.
-
I already got it in and going to test it when I'm done with my paper routes.
Thanx for the help everybody! :D
And when I'm done with this and at least one more mission you ppl will not be disappointed (hopefuly :nervous: ).
-
This wouldn't happen if you went out and got FS2... :nervous: