this code:
Code: Select all
<GetGlobalDockScreen>
(switch
;if we are not docking at a stSistersOfDomina , we do nothing
(not (eq (objGetType gSource) &stSistersOfDomina;))
Nil
;otherwise we show the new dockscreen with medium priority.
(eq (objGetType gSource) &stSistersOfDomina;)
(block Nil
(list &dsRefuseContamination; 10)
(printTo 'log "GetGlobalDockScreen FIRING DOCKSCREEN!")
)
Nil
)
</GetGlobalDockScreen>
am I doing something wrong or is a problem with GetGlobalDockScreen ?11/23/2013 22:40:30 GetGlobalDockScreen FIRING DOCKSCREEN!
11/23/2013 22:40:30 Crash in CDockingPorts::UpdateAll
11/23/2013 22:40:30 Unable to continue due to program error.
program state: OnAnimate
program state: updating object
obj class: CStation
obj name: Sisters of Domina
obj pointer: e0832a0
m_pBase: none
m_pTarget: none
m_Subordinates[0]: c4f21b0 Ronin/A-class gunship (CShip)
m_Subordinates[1]: c4f2338 Wolfen-class gunship (CShip)
m_DockingPorts[0]: c4f2648 freighter Heseltine (CShip)
m_DockingPorts[2]: c4f2338 Wolfen-class gunship (CShip)
m_DockingPorts[3]: c4f24c0 Borer-class gunship (CShip)
m_DockingPorts[4]: c4f27d0 freighter Jovian Cargo (CShip)
m_DockingPorts[7]: c4f21b0 Ronin/A-class gunship (CShip)
game state: in game