replacementInstantPlayer Problem

Program aborts? Network configuration? Graphic errors? Bugs? Post your question here.
posted on May 20th, 2009, 12:38 pm
Hi I'm trying out my own version of a refit system.

It involves using a replace weapon to get the ship from normal to a refit in progress (weapons and engines are offline aka no weapons and speed of 0)
then an other replace weapon to change it to the refitted ship.

I wanted these replace weapons to use special energy to work (first one drains the ships special energy then the second will only activate once it reaches the required energy amount giving it a build time feel.

however I used the replacementInstantPlayer = 1 command on the second replace weapon so it changed automatically but the command does not seam to take the specialEnergyCost command in to afftect and changes stright away (when energy is at 0).

Is the a way to get the replacementInstantPlayer = 1 to take the specialEnergyCost comand in to affect before using.

Hope this makes sence.
posted on May 20th, 2009, 1:16 pm
Last edited by DOCa Cola on May 20th, 2009, 1:20 pm, edited 1 time in total.
yes, it is intended that if replacementInstantPlayer is used that no special energy or resource costs get accounted. that is as there is no handler in the replaceweapon yet what to do if it is automatically triggered and there is not enough special energy or enough ressources for the replaceweapon requirements, also there wasn't much need for that yet. only a manual replace (triggered by pressing the button) will do that...
posted on May 20th, 2009, 2:17 pm
i dont know if this is what you are looking for but there should be a way to do a time delay
Reply

Who is online

Users browsing this forum: No registered users and 21 guests