here's the other cog, it was originally the sectorthrust cog, but you probly noticed that at first glance.
I wanted to alter it so that you don't get sucked in a specific direction like (1/0/0) but instead you get sucked in the direction of the thing(fan)
it didn't work...
can anyone help me?
------------------
SDÅ_Lªkútí
I wanted to alter it so that you don't get sucked in a specific direction like (1/0/0) but instead you get sucked in the direction of the thing(fan)
it didn't work...
can anyone help me?
Code:
# Jedi Knight Cog Script # # # [YB] # # (C) 1997 LucasArts Entertainment Co. All Rights Reserved # generic sector thrust script # # This script will control 1-8 sector thrust sectors thrusting in the same direction # and with the same velocity. The thrusts run continuously. symbols message startup thing fan float speed=1.0 desc=thrust_speed sector sector0 sector sector1 sector sector2 sector sector3 sector sector4 sector sector5 sector sector6 sector sector7 end code //----------------------------------------------------------------------------- startup: if (sector0 >= 0) SectorThrust(sector0, GetThingPos(fan), , speed); if (sector1 >= 0) SectorThrust(sector1, GetThingPos(fan), , speed); if (sector2 >= 0) SectorThrust(sector2, GetThingPos(fan), , speed); if (sector3 >= 0) SectorThrust(sector3, GetThingPos(fan), , speed); if (sector4 >= 0) SectorThrust(sector4, GetThingPos(fan), , speed); if (sector5 >= 0) SectorThrust(sector5, GetThingPos(fan), , speed); if (sector6 >= 0) SectorThrust(sector6, GetThingPos(fan), , speed); if (sector7 >= 0) SectorThrust(sector7, GetThingPos(fan), , speed); return; end
------------------
SDÅ_Lªkútí
SDÅ_Lªkútí