EDIT: see 6th post for complete script.
I know that this is a noob question, but I need some help making a SEXP-triggered version of the Escort-reticle script:
http://www.hard-light.net/wiki/index.php/Script_-_Escort_Reticle The goal is to have it apply only to one mission./turn it on and off on command.
I checked the Wiki and the forums, (including this thread:
http://www.hard-light.net/forums/index.php?topic=67711.0 ) as well as looked at some other examples of scripts, however none of that has been of much use beyond a certain point.
I have a rough idea of what i need to do, but i could very easily be wrong.
EX. Should I replace
$On Game Init:
with
$State: GS_STATE_GAME_PLAY
$On State Start:
and if so, what I do with
$On HUD Draw:
[
if missiontime == nil then
missiontime = mn.getMissionTime()
oldmissiontime = missiontime
end
?
I'm new to this in case you haven't noticed If someone could be so kind as to explain to me how to modify the script accordingly, or at least make the script and post it below, It would help me a lot.
Thanks in advance -DefCynodont119