Truxton location add note
Jump to navigation
Jump to search
This will add a note to the location.
It will cause a record to be created in the [InvestigatorNote] table.
Syntax
int truxton_location_add_note( uint64_t location_handle, char const * text );
Parameters
location_handle
This handle comes from calling truxton_location_create() or truxton_child_file_create_location()
text
The contents of the note.
Return value
A non-zero value on success, zero on failure.
Sample
void tag_murder( uint64_t location_handle, uint64_t time_of_death_low, uint64_t time_of_death_high )
{
uint64_t ticks = truxton_location_get_when( location_handle );
if ( ticks >= time_of_death_low && ticks <= time_of_death_high )
{
truxton_location_add_note( location_handle, "This definitely wasn't suicide." );
}
}