Hi,
I have two questions for you :
1/ Is it possible to temporary color a sector then set the color back to its initial color ?
2/ Is there a simple way to tell a ship to change its current target without calling an "attack" script again.
Thanks.
[Code] Color sector and change target
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: [Code] Color sector and change target
... no (if you mean the "grey" color on the universe map, yes if you mean the background id)Joubarbe wrote:1/ Is it possible to temporary color a sector then set the color back to its initial color ?
... the only way to "mark" a specific sector is to set the "objective" of a cue (mission director) to the sector
... noJoubarbe wrote:2/ Is there a simple way to tell a ship to change its current target without calling an "attack" script again.
... the fight script has a variable (4 the target) that cant be accessed from other scripts
... but you can (without overwriting the actually running script) "interrupt" the task by another fight script:
--> that means that as long as the interrupting script is running, the interrupted one is "waiting"
To err is human. To really foul things up you need a computer.
Irren ist menschlich. Aber wenn man richtig Fehler machen will, braucht man einen Computer.
Mission Director Beispiele
Irren ist menschlich. Aber wenn man richtig Fehler machen will, braucht man einen Computer.
Mission Director Beispiele