View source: (HLTaskFunc)EVT AT NPCClear (revision 378)

From Wulinshu
Jump to navigation Jump to search

2019-01-09T21:05:11Z · PhilYeahz · Download source

[[Category:Tasks]]
[[Category:Shenmue II]]

==Description==
Clears the npcs.<br>
Used sometimes when entering cutscenes.

==Parameter==
{| class="wikitable"
|-
! Position !! Length !! Type !! Description 
|-
| 0x00 || 0x08 || int64_t* || Pointer to a main task enqueue
|-
| 0x08 || 0x08 || int64_t || RCX parameter for main task
|-
| 0x10 || 0x04 || int32_t || Unused?
|-
| 0x14 || 0x04 || int32_t || If above zero the task will be destroyed
|-
| 0x18 || 0x04 || float || Task cycles till the npcs will be cleared
|}