boeyskie Posted June 4, 2019 Posted June 4, 2019 How can I check if a player has 5 spirit balls? Or soul collect is active? Quote
2 anacondaq Posted June 4, 2019 Posted June 4, 2019 script_commands.txt --------------------------------------- *addspiritball <count>,<duration>{,<char_id>}; Adds spirit ball to player for 'duration' in milisecond. --------------------------------------- *delspiritball <count>{,<char_id>}; Deletes the spirit ball(s) from player. --------------------------------------- *countspiritball {<char_id>}; Counts the spirit ball that player has. --------------------------------------- 1 Quote
0 Naruto Posted June 4, 2019 Posted June 4, 2019 3 hours ago, boeyskie said: How can I check if a player has 5 spirit balls? Or soul collect is active? sd->spiritball == 5 tsc && tsc->data[SC_STATUS] Quote
0 boeyskie Posted June 5, 2019 Author Posted June 5, 2019 12 hours ago, anacondaq said: script_commands.txt --------------------------------------- *addspiritball <count>,<duration>{,<char_id>}; Adds spirit ball to player for 'duration' in milisecond. --------------------------------------- *delspiritball <count>{,<char_id>}; Deletes the spirit ball(s) from player. --------------------------------------- *countspiritball {<char_id>}; Counts the spirit ball that player has. --------------------------------------- Thank you it is exactly what I need!!!!!!!!!!!!1 Quote
Question
boeyskie
How can I check if a player has 5 spirit balls? Or soul collect is active?
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.