Smbx 1.4.5: what sysval (param2) sends in this case
Posted: 28 Sep 2020, 20:08
In your Scripting Help document you wrote in a table that npc's death event sends some player id to sysval(param2), but:
I tested and it DOES works on all types of coins(the player touch it and this npc die)(except the npc-330 coin)
But there are other npc that the player touches it and they die but its script death event(object event) doesn't work:
9,184,14,34,169,170,178,182,183,184,186,249,250,254,264,273,277,306,320,321,322,323,331
I put this script on its death event:
And only send 1.
- Spoiler
I tested and it DOES works on all types of coins(the player touch it and this npc die)(except the npc-330 coin)
But there are other npc that the player touches it and they die but its script death event(object event) doesn't work:
9,184,14,34,169,170,178,182,183,184,186,249,250,254,264,273,277,306,320,321,322,323,331
I put this script on its death event:
Code: Select all
v(j)=sysval(param2)And only send 1.
