[Oxyd] set_cease_fire and already aimed player

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
y.petremann
Filter Inserter
Filter Inserter
Posts: 406
Joined: Mon Mar 17, 2014 4:24 pm
Contact:

[Oxyd] set_cease_fire and already aimed player

Post by y.petremann »

Already aimed entity in ennemy force still get aimed automaticaly if set to ally.

Setup :
  • Each player do to set their respective force :

    Code: Select all

    /c game.local_player.force = game.create_force(game.local_player.name)
  • Then a player do to set another player as enemy :

    Code: Select all

    /c game.local_player.force.set_cease_fire("",false)
  • Then it aim an shoot with space to the enemy player without kiling
  • Then a player do to set another player as ally :

    Code: Select all

    /c game.local_player.force.set_cease_fire("",true)
  • Then press space : the player still shoot on the ally player
What should it do :
When set_cease_fire is called, every entity (including players,turret does it great now) of the first force targeting any entities of the second force should reset their target

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [Oxyd] set_cease_fire and already aimed player

Post by Oxyd »

Nice find. This will be fixed in 0.12.30.

Post Reply

Return to “Resolved Problems and Bugs”