Hi there X-Fans,
first of all sorry, I couldn't find any solution via search yet.
But here is my problem.
A single Argon-Station is red (Enemy) on my Gravitar.
I am new to scripting in X² but I've tried a few things with my basic programming skills.
What I have tried sofar:
- Restarted the game (obviously)
- Output of isEnemy relation to station = 1
- Set relation of another station to enemy and back. (worked)
Here is my script and a screenshot of the result.
Thanks very much.
Screenshots:
http://type-style.de/20160508011703_1.jpg
http://type-style.de/20160508011714_1.jpg
Remove Enemy Relation of Station
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 4
- Joined: Sun, 9. Feb 14, 14:36
resolved
Thanks, I figured it out with some help in the german part of the forum.
Switching the Station and the playership in set Relation was the key.
Script looks like this.
http://type-style.de/20160508195529_1.jpg
Switching the Station and the playership in set Relation was the key.
Script looks like this.
http://type-style.de/20160508195529_1.jpg