Smbx 1.4.5: Mistakes 6
Posted: 6 Nov 2019, 6:15
1)
I have noticed that when the npc 32 has the option jump opportunity the player can release and keep pressing (or many times) the button before falling to the npc, the best thing would be for the player when he is in the red rectangle (something of 12 pixels high) (image) there just be counted if you press the skip button.
2)
I forgot to answer about your answer "Merged into 'Editor Script'" (from this link**), (I know to transform I can go through a script), but with that tool I could transform the id in editing mode and not in execution. Does the Editor Tools do something? Can I run this script in edit mode?
sysval is inaccessible in editor script, use itrcreate/itrnext instead.
3) When the player is on an npc that jumps (like npc 25) and just jumps when the npc falls, the player does not jump but the jump sounds.
I have noticed that when the npc 32 has the option jump opportunity the player can release and keep pressing (or many times) the button before falling to the npc, the best thing would be for the player when he is in the red rectangle (something of 12 pixels high) (image) there just be counted if you press the skip button.
2)
I forgot to answer about your answer "Merged into 'Editor Script'" (from this link**), (I know to transform I can go through a script), but with that tool I could transform the id in editing mode and not in execution. Does the Editor Tools do something? Can I run this script in edit mode?
Code: Select all
dim i as integer
for i=1 to sysval(bcount)
if block(i).id=4 then
block(i).id=90
end if
nextsysval is inaccessible in editor script, use itrcreate/itrnext instead.
Code: Select all
dim i as integer
i = itrcreate(1, 4, section(1).x, section(1).y, section(1).width, section(1).height)
do
dim j as long = itrnext(i)
if j = 0 then exit do
block(j).id = 90
loop 3) When the player is on an npc that jumps (like npc 25) and just jumps when the npc falls, the player does not jump but the jump sounds.
