Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Woolie Wool on February 03, 2013, 10:13:31 pm
-
Some missions in Twist of Fate feature an electronic warfare Anubis that interferes with sensors but there is no sexp that handles what I'd like to do (not even alter-ship-flag, because many flags are missing). This would be a simple, sexp, named ship-set-primitive-sensors, and would take at least two arguments:
1: Boolean: TRUE or FALSE. TRUE enables primitive sensors, FALSE enables normal sensors.
2+: Names of ships to set primitive sensors on
This would allow the mission author to toggle between normal and primitive sensors on selected ships at will.
-
This should probably be added onto alter-ship-flag.
-
Should have this working already. Post a patch in a bit.
This one scares me. It was way too simple.
[attachment deleted by a basterd]
-
Should have this working already. Post a patch in a bit.
This one scares me. It was way too simple.
The idea behind alter-ship-flag was to make it ridiculously easy to add new flag SEXPs. I haven't tested the code but you shouldn't have to do much more than add the flag in 2-3 places to make it work.