- function construct_Entity5 takes integer this, player owner, real pos_x, real pos_y, real pos_z, real radius, string wurstStackTrace returns nothing
- local string wurstStackTrace_2
- set Entity_pos[ this ] = Vectors_ZERO3_x
- set Entity_pos_2[ this ] = Vectors_ZERO3_y
- set Entity_pos_3[ this ] = Vectors_ZERO3_z
- set Entity_done[ this ] = false
- set DupletListModule_active[ this ] = true
- set wurstStackTrace_2 = "\n DupletListModule, line 19" + "\n DupletListModule, line 18" + wurstStackTrace
- if Entity_typeId[ this ] == 0 then
- if this == 0 then
- call error( "Nullpointer exception when calling Entity.addToActive", "" + wurstStackTrace_2 )
- else
- call error( "Called Entity.addToActive on invalid object.", "" + wurstStackTrace_2 )
- endif
- endif
- set DupletListModule_activeSize = DupletListModule_activeSize + 1
- if DupletListModule_activeSize == 1 then
- set DupletListModule_firstActive = this
- set DupletListModule_prev[ this ] = 0
- else
- set DupletListModule_prev[ this ] = DupletListModule_lastActive
- set DupletListModule_next[ DupletListModule_lastActive ] = this
- set DupletListModule_prev[ DupletListModule_firstActive ] = this
- endif
- set DupletListModule_next[ this ] = 0
- set DupletListModule_lastActive = this
- set wurstStackTrace = "\n Entity, line 59" + wurstStackTrace
- if Entity_typeId[ this ] == 0 then
- if this == 0 then
- call error( "Nullpointer exception when calling Entity.setupEntity", "" + wurstStackTrace )
- else
- call error( "Called Entity.setupEntity on invalid object.", "" + wurstStackTrace )
- endif
- endif
- set Entity_pos[ this ] = pos_x
- set Entity_pos_2[ this ] = pos_y
- set Entity_pos_3[ this ] = pos_z
- set Entity_owner[ this ] = owner
- endfunction
-
-
select language
-
select style
goto line: