Remove Enemy Relation of Station

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
Type-Style
Posts: 4
Joined: Sun, 9. Feb 14, 15:36

Remove Enemy Relation of Station

Post by Type-Style » Sun, 8. May 16, 01:28

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

Type-Style
Posts: 4
Joined: Sun, 9. Feb 14, 15:36

resolved

Post by Type-Style » Sun, 8. May 16, 19:59

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

Post Reply

Return to “X²: The Threat - Scripts and Modding”