| Anonymous | Login | Signup for a new account | 2013-05-23 11:15 MDT |
| Main | My View | View Issues | Change Log | Roadmap | IRC Chat |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0000799 | sm-ssc | Feature Request | public | 2012-06-26 13:28 | 2012-06-27 05:54 | ||||||
| Reporter | jindev | ||||||||||
| Assigned To | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||
| Status | confirmed | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | StepMania 5 alpha 2 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0000799: [LUA BINDING] IsLastNote(), LastNoteBeatSec() | ||||||||||
| Description | - IsLastNote()function: a condition if the player reach the last note of any stepchart during gameplay - LastNoteBeatSec(): return the time of the last note in any stepchart during gameplay. reason: I want to use this to for Full Combo sound and animation using JudgmentMessageCommand instead of OffCommand, which will execute right after FC'ing and stepping the last note during gameplay. I dunno how to get the last note beat in seconds. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0001700) AJ (administrator) 2012-06-26 15:18 edited on: 2012-06-26 22:38 |
Hopefully this is possible to do. edit: isn't the second request possible with GAMESTATE:GetCurrentSong():GetLastSecond()? granted, that will get the last second of the song... looking into making it possible to get the last second for the current Steps object. |
|
(0001705) jindev (reporter) 2012-06-27 05:54 edited on: 2012-06-27 06:20 |
i tried to compare both (correct to 3 decimal digits) GAMESTATE:GetCurrentSong():GetLastSecond() and pState = GAMESTATE:GetPlayerState(pn); pState:GetSongPosition():GetSongBeat() songPosition=string.format("%0.3f",pState:GetSongPosition():GetMusicSeconds()); in JudgmentMessageCommand. When it reaches the last note, they are not really equal. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-06-26 13:28 | jindev | New Issue | |
| 2012-06-26 15:18 | AJ | Note Added: 0001700 | |
| 2012-06-26 15:18 | AJ | Status | new => confirmed |
| 2012-06-26 22:23 | AJ | Note Edited: 0001700 | View Revisions |
| 2012-06-26 22:38 | AJ | Note Edited: 0001700 | View Revisions |
| 2012-06-27 05:54 | jindev | Note Added: 0001705 | |
| 2012-06-27 05:56 | jindev | Note Edited: 0001705 | View Revisions |
| 2012-06-27 05:56 | jindev | Note Edited: 0001705 | View Revisions |
| 2012-06-27 06:20 | jindev | Note Edited: 0001705 | View Revisions |
| Copyright © 2000 - 2011 MantisBT Group |